tbrehm
2013-10-01 d7b5ecb24ddbb366d54e77a051f43fe6f3c6e9f8
server/lib/classes/system.inc.php
@@ -780,7 +780,7 @@
      if(substr($path,0,1) != '/') return false;
      
      //* We allow only some characters in the path
      if(!preg_match('/[a-zA-Z0-9_\.\-]{1,}/',$path)) return false;
      if(!preg_match('/^\/[a-zA-Z0-9_\/\.\-]{1,}$/',$path)) return false;
      
      //* Check path for symlinks
      $path_parts = explode('/',$path);