diff options
author | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2016-06-22 16:36:40 +0100 |
---|---|---|
committer | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2016-06-22 16:36:40 +0100 |
commit | ac41d64e727429adf32c8bb9f1b1cfaac94a5b7b (patch) | |
tree | 70701d01cc6173172b084c975c735e889ced889b /kbas | |
parent | 7a9cda5241dc3ad8d24ad8dc100b49b0121f6177 (diff) | |
download | ybd-ac41d64e727429adf32c8bb9f1b1cfaac94a5b7b.tar.gz |
Fix #224 properly
Diffstat (limited to 'kbas')
-rwxr-xr-x | kbas/__main__.py | 2 |
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 |