Skip to content

Commit 8746f64

Browse files
zhuizhuhaomengagentzh
authored andcommitted
doc: ngx.req.set_uri_args: fixed byte ranges for automatic escaping.
1 parent e1e335f commit 8746f64

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4555,7 +4555,7 @@ or a Lua table holding the query arguments' key-value pairs, as in
45554555
In the former case, i.e., when the whole query-string is provided directly,
45564556
the input Lua string should already be well-formed with the URI encoding.
45574557
For security considerations, this method will automatically escape any control and
4558-
whitespace characters (ASCII code 0x00 ~ 0x32 and 0x7F) in the Lua string.
4558+
whitespace characters (ASCII code 0x00 ~ 0x20 and 0x7F) in the Lua string.
45594559

45604560
In the latter case, this method will escape argument keys and values according to the URI escaping rule.
45614561

doc/HttpLuaModule.wiki

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3794,7 +3794,7 @@ or a Lua table holding the query arguments' key-value pairs, as in
37943794
In the former case, i.e., when the whole query-string is provided directly,
37953795
the input Lua string should already be well-formed with the URI encoding.
37963796
For security considerations, this method will automatically escape any control and
3797-
whitespace characters (ASCII code 0x00 ~ 0x32 and 0x7F) in the Lua string.
3797+
whitespace characters (ASCII code 0x00 ~ 0x20 and 0x7F) in the Lua string.
37983798
37993799
In the latter case, this method will escape argument keys and values according to the URI escaping rule.
38003800

0 commit comments

Comments
 (0)