]> git.kaiwu.me - nginx.git/commit
Core: use uppercase hexadecimal digits for percent-encoding.
authorPiotr Sikora <piotr@cloudflare.com>
Fri, 27 Jun 2014 06:39:23 +0000 (23:39 -0700)
committerPiotr Sikora <piotr@cloudflare.com>
Fri, 27 Jun 2014 06:39:23 +0000 (23:39 -0700)
commit3ba8f2f73d27af3cd56506922edd91db2a56eb03
tree8e06a209ebc148291ef7a6991946a8e1d2e492d5
parentc54899ddfd9d517b01e09fc3e57b497a8f019686
Core: use uppercase hexadecimal digits for percent-encoding.

RFC3986 says that, for consistency, URI producers and normalizers
should use uppercase hexadecimal digits for all percent-encodings.

This is also what modern web browsers and other tools use.

Using lowercase hexadecimal digits makes it harder to interact with
those tools in case when use of the percent-encoded URI is required,
for example when $request_uri is part of the cache key.

Signed-off-by: Piotr Sikora <piotr@cloudflare.com>
src/core/ngx_string.c