[nginx] Core: fixed comment about msie_refresh escaping.

Ruslan Ermilov ru at nginx.com
Wed May 19 13:24:40 UTC 2021


details:   https://hg.nginx.org/nginx/rev/5772da03faf8
branches:  
changeset: 7845:5772da03faf8
user:      Ruslan Ermilov <ru at nginx.com>
date:      Wed May 19 16:24:13 2021 +0300
description:
Core: fixed comment about msie_refresh escaping.

After 12a656452ad1, the "%" character is no longer escaped by
ngx_escape_uri(NGX_ESCAPE_REFRESH).

diffstat:

 src/core/ngx_string.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r ec1071830799 -r 5772da03faf8 src/core/ngx_string.c
--- a/src/core/ngx_string.c	Wed May 19 03:13:31 2021 +0300
+++ b/src/core/ngx_string.c	Wed May 19 16:24:13 2021 +0300
@@ -1573,7 +1573,7 @@ ngx_escape_uri(u_char *dst, u_char *src,
         0xffffffff  /* 1111 1111 1111 1111  1111 1111 1111 1111 */
     };
 
-                    /* " ", """, "%", "'", %00-%1F, %7F-%FF */
+                    /* " ", """, "'", %00-%1F, %7F-%FF */
 
     static uint32_t   refresh[] = {
         0xffffffff, /* 1111 1111 1111 1111  1111 1111 1111 1111 */


More information about the nginx-devel mailing list