Browse code

Erlaube Leerzeichen im Pfad

git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1747 87cf0b9e-d624-0410-a070-f6ee81989793

bernd authored on14/06/2010 09:31:29
Showing1 changed files
... ...
@@ -148,7 +148,7 @@ function check_path( $input )
148 148
       return False;
149 149
     }
150 150
   }
151
-  return (preg_match('/^[A-Za-z0-9.@\/_-]*$/',$input) == 1);
151
+  return (preg_match('/^[ A-Za-z0-9.@\/_-]*$/',$input) == 1);
152 152
 }
153 153
 
154 154