Is URL percent-encoding case sensitive?
-
20-02-2021 - |
Question
Is %3B
treated differently to %3b
in an URL?
Solution
No, URL percent-encoding is NOT case sensitive. According to RFC 3986:
2.1. Percent-Encoding
[...]
The uppercase hexadecimal digits 'A' through 'F' are equivalent to the lowercase digits 'a' through 'f', respectively. If two URIs differ only in the case of hexadecimal digits used in percent-encoded octets, they are equivalent.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow