summaryrefslogtreecommitdiff
path: root/kbas
diff options
context:
space:
mode:
authorPaul Sherwood <paul.sherwood@codethink.co.uk>2016-06-22 16:36:40 +0100
committerPaul Sherwood <paul.sherwood@codethink.co.uk>2016-06-22 16:36:40 +0100
commitac41d64e727429adf32c8bb9f1b1cfaac94a5b7b (patch)
tree70701d01cc6173172b084c975c735e889ced889b /kbas
parent7a9cda5241dc3ad8d24ad8dc100b49b0121f6177 (diff)
downloadybd-ac41d64e727429adf32c8bb9f1b1cfaac94a5b7b.tar.gz
Fix #224 properly
Diffstat (limited to 'kbas')
-rwxr-xr-xkbas/__main__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kbas/__main__.py b/kbas/__main__.py
index 47a4d0c..c20f9b5 100755
--- a/kbas/__main__.py
+++ b/kbas/__main__.py
@@ -122,7 +122,7 @@ class KeyedBinaryArtifactServer(object):
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