summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Brown <ben.brown@codethink.co.uk>2017-03-06 15:16:26 +0000
committerBen Brown <ben.brown@codethink.co.uk>2017-03-06 15:28:19 +0000
commitb6a8ad3356985b7a729302511c31b60da0a69c1c (patch)
tree566980aefda0bcc0fff236ecf6ad52501154d20c
parent54fb9ab613fc7a3aa202180461758d5a1c4a6363 (diff)
downloadybd-benbrown/kbas-plus.tar.gz
Add '+' to the list of accepted characters in kbas artifactsbenbrown/kbas-plus
Fixes: [libdbus-c++] Starting upload [libdbus-c++] Artifact server problem: 400 [libdbus-c++] Failed to upload libdbus-c++.joidja8
-rwxr-xr-xkbas/__main__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kbas/__main__.py b/kbas/__main__.py
index 4445f67..7629710 100755
--- a/kbas/__main__.py
+++ b/kbas/__main__.py
@@ -127,7 +127,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