tbrehm
2013-07-31 615a0a96618fa99e7e452523145d6c0f238d4473
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);