You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes it's valid to decode these characters, e.g. example.com/?query=Hello%3F and example.com/?query=Hello? are equivalent. But the examples above are very clearly not the same URL.
I imagine this bug may affect other special characters too, but I've only tested ? and # myself.
The text was updated successfully, but these errors were encountered:
The behaviour of
url_normalize
is wrong when dealing with URLs that have encoded characters like question marks?
or hash symbols#
in the path.%23
and%3F
should not always be decoded into?
and#
as they can change the meaning of the URL. Example:Sometimes it's valid to decode these characters, e.g.
example.com/?query=Hello%3F
andexample.com/?query=Hello?
are equivalent. But the examples above are very clearly not the same URL.I imagine this bug may affect other special characters too, but I've only tested
?
and#
myself.The text was updated successfully, but these errors were encountered: