Mercurial > kallithea
diff rhodecode/lib/utils.py @ 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 | dd240b2b7a12 |
children | 9ae95fdeca18 3a007d806f0f |
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, '-')