[issue40426] Unable to use lowercase hexadecimal digits for percent encoding

Christian Heimes report at bugs.python.org
Fri May 8 10:52:45 EDT 2020


Christian Heimes <lists at cheimes.de> added the comment:

No, they are not required. RFC 3986 recommends upper case and says that upper and lower case percent encoding are equivalent:

   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.  For consistency, URI producers and
   normalizers should use uppercase hexadecimal digits for all percent-
   encodings.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40426>
_______________________________________


More information about the Python-bugs-list mailing list