URL-encoded characters are always normalized; cannot be used for escaping

Group Leader
Joined
Feb 4, 2025
Messages
7
Originally reported in 2024 on Discord (link). I vaguely remember getting a dev reply saying they've made a ticket and will be working on it, but can't seem to find the reply anymore.

I'm trying to use https://x.com/search?q=(%‍23かんたべりーでいず)(from:guardiantalesjp) as the link to Official Raw in https://mangadex.org/title/4df219da-4b5f-48ea-9fac-23641ae8a584, since it's the official publication medium.

Since the hashtag character (#) needs to be escaped when using inside URL queries, I've tried percent-encoding it in multiple ways:
  • %23 -> #
  • %2523 -> %23
  • %25%32%33 -> %23
No matter what kind of cursed percent-encoded combination I throw at it, the backend has no problem accepting it:
1788074508996.png

But annoyingly, the frontend always normalizes that combination into a single #:
mpv-shot0001.jpg

Which breaks the Twitter/X hashtag search query:
image.png

Because the browser treats the unescaped # as the URI fragment marker, and everything after it is ignored.

The intended behavior should be:
1788075630081.png
 

Users who are viewing this thread

Top