Rev4471, Allow files start with dot
This commit is contained in:
parent
1eec388252
commit
31d4304915
3 changed files with 4 additions and 2 deletions
|
@ -599,7 +599,7 @@ class ContentManager(object):
|
|||
return False
|
||||
elif len(relative_path) > 255:
|
||||
return False
|
||||
elif relative_path[0] in (".", "/"): # Starts with
|
||||
elif relative_path[0] in ("/", "\\"): # Starts with
|
||||
return False
|
||||
elif relative_path[-1] in (".", " "): # Ends with
|
||||
return False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue