##// END OF EJS Templates
Filter more special chars in validation of repo name
marcink -
r2786:ffaaeb5a beta
parent child Browse files
Show More
@@ -91,7 +91,7 def repo_name_slug(value):
91 slug = remove_formatting(value)
91 slug = remove_formatting(value)
92 slug = strip_tags(slug)
92 slug = strip_tags(slug)
93
93
94 for c in """=[]\;'"<>,/~!@#$%^&*()+{}|: """:
94 for c in """`?=[]\;'"<>,/~!@#$%^&*()+{}|: """:
95 slug = slug.replace(c, '-')
95 slug = slug.replace(c, '-')
96 slug = recursive_replace(slug, '-')
96 slug = recursive_replace(slug, '-')
97 slug = collapse(slug, '-')
97 slug = collapse(slug, '-')
General Comments 0
You need to be logged in to leave comments. Login now