ozgur / python-firebase

Python interface to the Firebase's REST API
http://ozgur.github.com/python-firebase/
MIT License
593 stars 155 forks source link

Dealing with %20 in a key #98

Open darrelfrancis opened 5 years ago

darrelfrancis commented 5 years ago

If I write a value such as "ABC%20DEF"

This is stored on firebase as "ABC DEF"

and then when I read it back I get "ABC DEF"

This causes me a problem when the value is a filename from the web, which quite often escapes spaces etc in the %xx format. Is there a way to prevent the interpretation of %xx as a hex value, when writing through python-firebase?

I think it is related to the problems others have been having in writing a key that is "%2E", because that gets interpreted into an illegal key character ".".

Could we have a flag to prevent interpretation? Or is that outside of your control, on the firebase side of things?