Skip to content

Commit

Permalink
fix double escaping url parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
nhorvath committed Feb 15, 2019
1 parent bc6366f commit f7420d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyrebase/pyrebase.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def build_request_url(self, token):
parameters['auth'] = token
for param in list(self.build_query):
if type(self.build_query[param]) is str:
parameters[param] = quote('"' + self.build_query[param] + '"')
parameters[param] = '"' + self.build_query[param] + '"'
elif type(self.build_query[param]) is bool:
parameters[param] = "true" if self.build_query[param] else "false"
else:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='Pyrebase4',
version='4.2.0',
version='4.3.0',
url='https://github.com/nhorvath/Pyrebase4',
description='A simple python wrapper for the Firebase API with current deps',
author='nhorvath',
Expand Down

0 comments on commit f7420d0

Please sign in to comment.