ozgur/python-firebase

Dealing with %20 in a key

darrelfrancis opened this issue · 0 comments

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?