Changeset - ffaaeb5a5a69
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 13 years ago 2012-09-03 17:22:33
marcin@python-works.com
Filter more special chars in validation of repo name
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rhodecode/lib/utils.py
Show inline comments
 
@@ -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, '-')
0 comments (0 inline, 0 general)