Skip to content

Commit ff4fc7b

Browse files
committed
fix urlencode bugs
1 parent 7bf2f87 commit ff4fc7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: reqable/reqable.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def concat(self, encode: bool = True) -> str:
181181
if encode:
182182
from urllib.parse import urlencode, quote
183183
# Keep asterish to be safe
184-
return urlencode(self._entries, safe='*', quote_via=quote)
184+
return urlencode(self._entries, safe='*=')
185185
else:
186186
return '&'.join(['='.join(entry) for entry in self._entries])
187187

0 commit comments

Comments
 (0)