##// END OF EJS Templates
lib: Fix missing space char in bad slug characters string.
Martin Bornhold -
r906:1074a41b default
parent child Browse files
Show More
@@ -61,7 +61,7 b" REMOVED_REPO_PAT = re.compile(r'rm__\\d{8"
61 # String which contains characters that are not allowed in slug names for
61 # String which contains characters that are not allowed in slug names for
62 # repositories or repository groups. It is properly escaped to use it in
62 # repositories or repository groups. It is properly escaped to use it in
63 # regular expressions.
63 # regular expressions.
64 SLUG_BAD_CHARS = re.escape('`?=[]\;\'"<>,/~!@#$%^&*()+{}|:')
64 SLUG_BAD_CHARS = re.escape('`?=[]\;\'"<>,/~!@#$%^&*()+{}|: ')
65
65
66 # Regex that matches forbidden characters in repo/group slugs.
66 # Regex that matches forbidden characters in repo/group slugs.
67 SLUG_BAD_CHAR_RE = re.compile('[{}]'.format(SLUG_BAD_CHARS))
67 SLUG_BAD_CHAR_RE = re.compile('[{}]'.format(SLUG_BAD_CHARS))
General Comments 0
You need to be logged in to leave comments. Login now