Encoding breaks firebase storage links #2153

tomermes opened this Issue Sep 29, 2016 · 4 comments


None yet

3 participants


This is a sample firebase storage url:


When shortened the url saved in the db is with "/" instead of %2F (after images token).
Firebase domain return 404 for those links.


You can remove the encoding of the url in includes/functions.php, at the function "yourls_add_new_link".
Just remove the two rows which makes encodeURI and escape.

@tomermes tomermes closed this Sep 29, 2016
dgw commented Sep 29, 2016

Don't Hack Core!

This should be tweakable with a plugin, or perhaps YOURLS should not be decoding entities in URLs like this one.

tomermes commented Oct 2, 2016

ok so fix needed

@tomermes tomermes reopened this Oct 2, 2016

X-Ref: #1303

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment