Welcome! Log In Create A New Profile

Advanced

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

Maxim Dounin
June 28, 2021 02:38PM
details: https://hg.nginx.org/nginx/rev/b7407334c60d
branches:
changeset: 7879:b7407334c60d
user: Maxim Dounin <mdounin@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 */
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

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

Maxim Dounin 95 June 28, 2021 02:38PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 48
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready