Quote all Route params
This commit is contained in:
parent
98a054e19e
commit
6fc2b51dea
@ -53,7 +53,7 @@ class Route:
|
||||
self.method = method
|
||||
url = (self.BASE + self.path)
|
||||
if parameters:
|
||||
self.url = url.format(**parameters)
|
||||
self.url = url.format(**{k: _uriquote(v) for k, v in parameters.items()})
|
||||
else:
|
||||
self.url = url
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user