Skip to content

Commit

Permalink
Allow + artifact names
Browse files Browse the repository at this point in the history
  • Loading branch information
devcurmudgeon committed Jul 2, 2016
1 parent 17d1f4d commit 6c7b182
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kbas/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def post_artifact():
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

Expand Down

0 comments on commit 6c7b182

Please sign in to comment.