From 6c7b1821e031d3d72a05c849c8cc04e53aa99286 Mon Sep 17 00:00:00 2001 From: Paul Sherwood Date: Sat, 2 Jul 2016 12:43:35 +0100 Subject: [PATCH] Allow + artifact names --- kbas/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kbas/__main__.py b/kbas/__main__.py index a91e2bc..31243a8 100755 --- a/kbas/__main__.py +++ b/kbas/__main__.py @@ -122,7 +122,7 @@ def post_artifact(): return cache_id = request.forms.get('filename') - if re.match('^[a-zA-Z0-9\.\-\_\@]*$', cache_id) is None: + if re.match('^[a-zA-Z0-9\.\-\_\@\+]*$', cache_id) is None: response.status = 400 # bad request, cache_id contains bad things return