RetroFed Forum
Your home away from modern life.
[Bug] Thunder is escaping already escaped percent signs in plain text links.
Post Reply
AuthorMessage
Quibblekrust thelemmy.club Quibblekrust@thelemmy.club
Joined: 2025-02-09
(edited) Quote

This link is already URL-escaped, but Thunder doesn't seem to understand that and escapes the percent signs.

https://en.wikipedia.org/wiki/Ramanujan–Sato_series

Here it is again as a link on some text, which works fine.

(I edited this post from a "does this work for you?" question to a bug report.)

6   Original
GodEmperorOfDuneUrMom lemmy.world matrixrunner@lemmy.world
Joined: 2023-06-24
#2 · Quote Reply

The post link works for me in Firefox, Vanadium (degoogled Chrome), and WikiReader. The link in the post body gives the error described.

It looks like the post formatting is reading the URL as an unescaped string and escapes the percentage marks that already did that in the string.

The post link is:
https://en.wikipedia.org/wiki/Ramanujan–Sato_series

But the version in the body is this:
https://en.wikipedia.org/wiki/Ramanujan%25E2%2580%2593Sato_series

So yeah, it looks like it got double-escaped somehow.

https://en.wikipedia.org/wiki/Percent-encoding

5
Quibblekrust thelemmy.club Quibblekrust@thelemmy.club
Joined: 2025-02-09
#3 · Quote Reply

The post link works for me in Firefox, Vanadium (degoogled Chrome), and WikiReader. The link in the post body gives the error described. It looks like the post formatting is reading the URL as an unescaped string and escapes the percentage marks that already did that in the string. The post link is: https://en.wikipedia.org/wiki/Ramanujan–Sato_series But the version in the body is this: https:/...

Yeah, long pressing the link shows the problem:

3
Post Reply
Back to top