Closed AxelSun closed 1 year ago
I have my images in subfolders on GCS / firebase storage with URL pattern /bucket/o/<folder>%2F<subfolder>%2F<file>.
/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.
encodeURIComponent
%2F
%252F
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.
/
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.