From a069c8c7607328cacf7b4de8e4bef711e3cd7923 Mon Sep 17 00:00:00 2001 From: Thorge Petersen <petersen@rz.uni-kiel.de> Date: Mon, 25 Apr 2022 11:32:07 +0200 Subject: [PATCH] =?UTF-8?q?Allow=20=C2=A7=20in=20tag=20names?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ckanext/odsh/validation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckanext/odsh/validation.py b/ckanext/odsh/validation.py index 1ecaee16..a7ca167e 100644 --- a/ckanext/odsh/validation.py +++ b/ckanext/odsh/validation.py @@ -265,7 +265,7 @@ def next_extra_index(data): def tag_name_validator(value, context): - tagname_match = re.compile('[\w \-.\:\(\)\´\`]*$', re.UNICODE) + tagname_match = re.compile(r'[\w \-.\:\(\)\´\`\§]*$', re.UNICODE) if not tagname_match.match(value): raise toolkit.Invalid(_('Tag "%s" must be alphanumeric ' 'characters or symbols: -_.:()') % (value)) -- GitLab