use IS_SLASH in various places instead of string comparing
#21814
+8
−11
Loading