<div dir="ltr">Perhaps a Â configuration item (ugh, another configuration option)? We noticed this issue a number of years ago, and we have been using a work-around for a number of years, as well.</div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Fri, Jun 27, 2014 at 10:57 AM, Maxim Dounin <span dir="ltr"><<a href="mailto:mdounin@mdounin.ru" target="_blank">mdounin@mdounin.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello!<br>
<br>
On Thu, Jun 26, 2014 at 11:40:27PM -0700, Piotr Sikora wrote:<br>
<br>
> # HG changeset patch<br>
> # User Piotr Sikora <<a href="mailto:piotr@cloudflare.com">piotr@cloudflare.com</a>><br>
> # Date 1403851163 25200<br>
> # Â  Â  Â Thu Jun 26 23:39:23 2014 -0700<br>
> # Node ID 177382006b7d7a421688831d5793b2e417074b48<br>
> # Parent Â 42114bf12da0cf3d428d0e695139f5366cbd0513<br>
> Core: use uppercase hexadecimal digits for percent-encoding.<br>
><br>
> RFC3986 says that, for consistency, URI producers and normalizers<br>
> should use uppercase hexadecimal digits for all percent-encodings.<br>
><br>
> This is also what modern web browsers and other tools use.<br>
><br>
> Using lowercase hexadecimal digits makes it harder to interact with<br>
> those tools in case when use of the percent-encoded URI is required,<br>
> for example when $request_uri is part of the cache key.<br>
><br>
> Signed-off-by: Piotr Sikora <<a href="mailto:piotr@cloudflare.com">piotr@cloudflare.com</a>><br>
><br>
> diff -r 42114bf12da0 -r 177382006b7d src/core/ngx_string.c<br>
> --- a/src/core/ngx_string.c Â  Mon Jun 16 19:43:25 2014 +0400<br>
> +++ b/src/core/ngx_string.c Â  Thu Jun 26 23:39:23 2014 -0700<br>
> @@ -1407,7 +1407,7 @@ ngx_escape_uri(u_char *dst, u_char *src,<br>
> Â {<br>
> Â  Â  Â ngx_uint_t Â  Â  Â n;<br>
> Â  Â  Â uint32_t Â  Â  Â  *escape;<br>
> - Â  Â static u_char Â  hex[] = "0123456789abcdef";<br>
> + Â  Â static u_char Â  hex[] = "0123456789ABCDEF";<br>
><br>
> Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â /* " ", "#", "%", "?", %00-%1F, %7F-%FF */<br>
<br>
I can't say I like this change. Â I've considered this a while ago,<br>
and decided to keep it as is. Â This preserve compatibility with<br>
what nginx used to do for years. Â And it also looks like Apache<br>
does the same.<br>
<br>
Any other opinions?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Maxim Dounin<br>
<a href="http://nginx.org/" target="_blank">http://nginx.org/</a><br>
<br>
_______________________________________________<br>
nginx-devel mailing list<br>
<a href="mailto:nginx-devel@nginx.org">nginx-devel@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx-devel" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx-devel</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>e: <a href="mailto:bmoran@onehub.com" target="_blank">bmoran@onehub.com</a><br>p: +1 206 390 4376<br><br>Onehub, Inc.<br><a href="http://www.onehub.com" target="_blank">www.onehub.com</a><br>

</div>