Allow non-latin characters in the rootResourcePath
This commit is contained in:
1 parent
90cda12ed9
commit
1a7500f102
1 file changed
+2
-1
@@ -75,4 +75,5 @@ module.exports = RequestParser =
|
||||
return attribute
|
||||
|
||||
_sanitizePath: (path) ->
|
||||
path.replace(/[^a-zA-Z0-9_\-;.,\/ ]/g, "")
|
||||
# See http://php.net/manual/en/function.escapeshellcmd.php
|
||||
path.replace(/[\#\&\;\`\|\*\?\~\<\>\^\(\)\[\]\{\}\$\\\,\x0A\xFF]/g, "")
|
||||
Reference in new issue
Block a user