Allow files with ..
as a name substring
This commit is contained in:
parent
18dc359cfc
commit
1ed40b3b82
1 changed files with 1 additions and 1 deletions
|
@ -595,7 +595,7 @@ class ContentManager(object):
|
|||
return back
|
||||
|
||||
def isValidRelativePath(self, relative_path):
|
||||
if ".." in relative_path:
|
||||
if ".." in relative_path.replace("\\", "/").split("/"):
|
||||
return False
|
||||
elif len(relative_path) > 255:
|
||||
return False
|
||||
|
|
Loading…
Reference in a new issue