summaryrefslogtreecommitdiff
path: root/kbas
diff options
context:
space:
mode:
authorPaul Sherwood <paul.sherwood@codethink.co.uk>2016-07-02 13:20:19 +0100
committerPaul Sherwood <paul.sherwood@codethink.co.uk>2016-07-02 13:20:19 +0100
commit8db496da3761093fc63769256459e05edf0977cc (patch)
treee83d16200c7e369d513cd1ece4e786f7c3cb7598 /kbas
parent6c7b1821e031d3d72a05c849c8cc04e53aa99286 (diff)
downloadybd-8db496da3761093fc63769256459e05edf0977cc.tar.gz
Revert "Allow + artifact names"
This reverts commit 6c7b1821e031d3d72a05c849c8cc04e53aa99286.
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 31243a8..a91e2bc 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