invertase / firebase-extensions

A collection of Firebase Extensions built by Invertase.
https://extensions.invertase.dev
Apache License 2.0
28 stars 12 forks source link

Issues escaping %2F in query params on url #49

Closed AxelSun closed 1 year ago

AxelSun commented 1 year ago

I have my images in subfolders on GCS / firebase storage with URL pattern /bucket/o/<folder>%2F<subfolder>%2F<file>.

When I parse my operations with encodeURIComponent it escapes the %2F correctly as %252F which is sent to the cloud function.

In the cloud function error logs I can see that the %252F is replaced by / instead of expected %2F which results in an invalid URL.