Skip to content

Commit

Permalink
reg exp fix!
Browse files Browse the repository at this point in the history
  • Loading branch information
pahaz committed Jun 1, 2012
1 parent e2a88a5 commit 915fa56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filebrowser/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
# Sorting Order: asc, desc
DEFAULT_SORTING_ORDER = getattr(settings, "FILEBROWSER_DEFAULT_SORTING_ORDER", "desc")
# regex to clean dir names before creation
FOLDER_REGEX = getattr(settings, "FILEBROWSER_FOLDER_REGEX", r'^[\sa-zA-Z0-9._/-]+$')
FOLDER_REGEX = getattr(settings, "FILEBROWSER_FOLDER_REGEX", r'^[ a-zA-Z0-9._/-]+$')

# EXTRA TRANSLATION STRINGS
# The following strings are not availabe within views or templates
Expand Down

0 comments on commit 915fa56

Please sign in to comment.