Skip to content

Commit

Permalink
HOTFIX-0.1.0: Resolve bug on dots character while create folder
Browse files Browse the repository at this point in the history
  • Loading branch information
cacadosman committed Feb 16, 2020
1 parent 6a65222 commit c0326e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ctfd.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def __setEnVar(self):

# Other
self.regex = re.compile(r'(\/files\/)?([a-f0-9]*\/.*\.*\w*)')
self.escape = re.compile(r'[\\\/\:\*\?\"\<\>\|]')
self.escape = re.compile(r'[\\\/\:\*\?\"\<\>\|(\s\.)\.]')
self.travers = True

#Logging
Expand Down

0 comments on commit c0326e3

Please sign in to comment.