Marius Cramer
2014-02-07 42b689d1a0b6cd091f4f97ecdc3f841c964b82ed
server/lib/classes/system.inc.php
@@ -851,7 +851,7 @@
      //* We allow only some characters in the path
      // * is allowed, for example it is part of wildcard certificates/keys: *.example.com.crt
      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);