Router: matching query string support.
The "query" option matches decoded arguments, including plus ('+') to
space (' '). Like "uri", it can be a string or an array of strings.
This commit is contained in:
@@ -589,6 +589,11 @@ static nxt_conf_vldt_object_t nxt_conf_vldt_match_members[] = {
|
||||
.type = NXT_CONF_VLDT_STRING | NXT_CONF_VLDT_ARRAY,
|
||||
.validator = nxt_conf_vldt_match_encoded_patterns,
|
||||
.u.string = "uri"
|
||||
}, {
|
||||
.name = nxt_string("query"),
|
||||
.type = NXT_CONF_VLDT_STRING | NXT_CONF_VLDT_ARRAY,
|
||||
.validator = nxt_conf_vldt_match_encoded_patterns,
|
||||
.u.string = "query"
|
||||
}, {
|
||||
.name = nxt_string("arguments"),
|
||||
.type = NXT_CONF_VLDT_OBJECT | NXT_CONF_VLDT_ARRAY,
|
||||
|
||||
Reference in New Issue
Block a user