Skip to content

Commit

Permalink
Allow '-' characters in string input parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
torse committed Jun 14, 2017
1 parent 14075ba commit 4315904
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wpsremote/computation_job_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def __init__(self, name, input_type, title, description, default=None, formatter
self._description = description
self._value = None
self._value_converted = None
self._allowed_chars = string.printable.replace('-','').replace(' ','')
self._allowed_chars = string.printable.replace(' ','')
self._allowed_chars_url = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~:/?#[]@!$&'()*+,;="

def _validate_and_convert(self, value):
Expand Down

0 comments on commit 4315904

Please sign in to comment.