Skip to content

Commit f7420d0

Browse files
committed
fix double escaping url parameters
1 parent bc6366f commit f7420d0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyrebase/pyrebase.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def build_request_url(self, token):
252252
parameters['auth'] = token
253253
for param in list(self.build_query):
254254
if type(self.build_query[param]) is str:
255-
parameters[param] = quote('"' + self.build_query[param] + '"')
255+
parameters[param] = '"' + self.build_query[param] + '"'
256256
elif type(self.build_query[param]) is bool:
257257
parameters[param] = "true" if self.build_query[param] else "false"
258258
else:

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name='Pyrebase4',
5-
version='4.2.0',
5+
version='4.3.0',
66
url='https://github.com/nhorvath/Pyrebase4',
77
description='A simple python wrapper for the Firebase API with current deps',
88
author='nhorvath',

0 commit comments

Comments
 (0)