# HG changeset patch # User Martin Bornhold # Date 2016-09-23 12:16:29 # Node ID 1074a41b191f8c5b365473669097b70a9b2f06c0 # Parent 6c28963146bf9191ad96b72b88177190759df215 lib: Fix missing space char in bad slug characters string. diff --git a/rhodecode/lib/utils.py b/rhodecode/lib/utils.py --- a/rhodecode/lib/utils.py +++ b/rhodecode/lib/utils.py @@ -61,7 +61,7 @@ REMOVED_REPO_PAT = re.compile(r'rm__\d{8 # String which contains characters that are not allowed in slug names for # repositories or repository groups. It is properly escaped to use it in # regular expressions. -SLUG_BAD_CHARS = re.escape('`?=[]\;\'"<>,/~!@#$%^&*()+{}|:') +SLUG_BAD_CHARS = re.escape('`?=[]\;\'"<>,/~!@#$%^&*()+{}|: ') # Regex that matches forbidden characters in repo/group slugs. SLUG_BAD_CHAR_RE = re.compile('[{}]'.format(SLUG_BAD_CHARS))