[nginx] Core: fixed comment about escaping in arguments.

Maxim Dounin mdounin at mdounin.ru
Mon Jun 28 18:36:22 UTC 2021


details:   https://hg.nginx.org/nginx/rev/b7407334c60d
branches:  
changeset: 7879:b7407334c60d
user:      Maxim Dounin <mdounin at mdounin.ru>
date:      Mon Jun 28 18:01:09 2021 +0300
description:
Core: fixed comment about escaping in arguments.

After 4954530db2af, the ";" character is escaped by
ngx_escape_uri(NGX_ESCAPE_ARGS).

diffstat:

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

diffs (12 lines):

diff -r bea0f9e5c309 -r b7407334c60d src/core/ngx_string.c
--- a/src/core/ngx_string.c	Mon Jun 28 18:01:06 2021 +0300
+++ b/src/core/ngx_string.c	Mon Jun 28 18:01:09 2021 +0300
@@ -1513,7 +1513,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   args[] = {
         0xffffffff, /* 1111 1111 1111 1111  1111 1111 1111 1111 */


More information about the nginx-devel mailing list