# HG changeset patch # User Marcin Kuzminski # Date 2012-09-03 15:22:33 # Node ID ffaaeb5a5a69ac4ab841c45d41f94889912a7adf # Parent f1f01e951008dccc4ce04c73e65621313fa8ae4b Filter more special chars in validation of repo name diff --git a/rhodecode/lib/utils.py b/rhodecode/lib/utils.py --- a/rhodecode/lib/utils.py +++ b/rhodecode/lib/utils.py @@ -91,7 +91,7 @@ def repo_name_slug(value): slug = remove_formatting(value) slug = strip_tags(slug) - for c in """=[]\;'"<>,/~!@#$%^&*()+{}|: """: + for c in """`?=[]\;'"<>,/~!@#$%^&*()+{}|: """: slug = slug.replace(c, '-') slug = recursive_replace(slug, '-') slug = collapse(slug, '-')