changeset 2786:ffaaeb5a5a69 beta

Filter more special chars in validation of repo name
author Marcin Kuzminski <marcin@python-works.com>
date Mon, 03 Sep 2012 17:22:33 +0200
parents f1f01e951008
children 423a14349ef3
files rhodecode/lib/utils.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/lib/utils.py	Mon Sep 03 08:25:38 2012 +0200
+++ b/rhodecode/lib/utils.py	Mon Sep 03 17:22:33 2012 +0200
@@ -91,7 +91,7 @@
     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, '-')