Skip to content

Commit 5115a6c

Browse files
geoffjukeswillmcgugan
authored andcommitted
Unquote query string parameters (#168)
Not required, but allows the use of special characters and not have to unquote in the fs implementation. For example, a JSON string.
1 parent 7f55213 commit 5115a6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/opener/parse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def parse_fs_url(fs_url):
9595
resource = unquote(url)
9696
if has_qs:
9797
_params = parse_qs(qs, keep_blank_values=True)
98-
params = {k:v[0] for k, v in six.iteritems(_params)}
98+
params = {k:unquote(v[0]) for k, v in six.iteritems(_params)}
9999
else:
100100
params = {}
101101
return ParseResult(

0 commit comments

Comments
 (0)