diff options
author | Ben Brown <ben.brown@codethink.co.uk> | 2017-03-06 15:16:26 +0000 |
---|---|---|
committer | Ben Brown <ben.brown@codethink.co.uk> | 2017-03-06 15:28:19 +0000 |
commit | b6a8ad3356985b7a729302511c31b60da0a69c1c (patch) | |
tree | 566980aefda0bcc0fff236ecf6ad52501154d20c | |
parent | 54fb9ab613fc7a3aa202180461758d5a1c4a6363 (diff) | |
download | ybd-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-x | kbas/__main__.py | 2 |
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 |