-
Notifications
You must be signed in to change notification settings - Fork 206
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
Firebase Storage encoding issue #149
Comments
Indeed, API 4 strikes again, we already have a hunch of what the problem is this time. Please bear with us as we fix this, and again, we're sorry that these URL-bugs keep popping up.. (URL-encoding is really hard if you aren't using something like cURL, which we don't want to, as we're moving as close to native-C & Lua as we can get, because of performance). |
No problem, if there's anything I can do to help, please let me know |
As explained in our Privacy Policy we do keep 7 days of logs. We'll test some of your project URL's in our staging environment, so you may see some requests from |
Sure, thanks for the heads up |
Passed staging environment, pushed to repo. Fix is being rolled out, caches are refreshing, keep us updated if the issue persists! 😄 |
Everything looks to be working again now - thank you for getting this fixed so quickly! |
The issue seemed to pop up again #199 |
It looks like there might be another encoding issue with the new API version 4 which is affecting users of our app.
Firebase Storage generates downloadUrls of the following format:
You'll notice that this is already a URL encoded version of a URL and needs to be supplied to Firebase exactly as it for it to be interpreted properly.
For reference, the unencoded URL is:
To make this work with weserv, we URL encode the link and add the weserv prefix which gives the following and worked perfectly on v3:
However, this now generates the following error:
Looking at the error responses from Firebase Storage, it implies that the URL being passed from weserv is not being correctly decoded anymore.
I have obfuscated my Firebase project ID for obvious reasons, but am happy to supply privately to whoever is investigating the issue if it helps.
The text was updated successfully, but these errors were encountered: