Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

special characters in child is skipped. for example db.child("+91") will be written to db as 91 #187

Closed
zudheer opened this issue Jul 6, 2017 · 2 comments

Comments

@zudheer
Copy link

zudheer commented Jul 6, 2017

for example db.child("+91") will be written to db as 91.
the '+' symbol is skipped

@JooeunAhn
Copy link

use urllib.parse.quote_plus

quote_plus("+91")
'%2B91'

@zudheer
Copy link
Author

zudheer commented Jul 20, 2017

Your solution is for python3
for python 2 it is
urllib.pathname2url('+91')

@zudheer zudheer closed this as completed Jan 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants