mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
Variables: updated list of prefixes in ngx_http_rewrite_set().
This commit is contained in:
parent
8cf734c7b4
commit
31c35adfe1
@ -930,7 +930,11 @@ ngx_http_rewrite_set(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
|
|||||||
if (v->get_handler == NULL
|
if (v->get_handler == NULL
|
||||||
&& ngx_strncasecmp(value[1].data, (u_char *) "http_", 5) != 0
|
&& ngx_strncasecmp(value[1].data, (u_char *) "http_", 5) != 0
|
||||||
&& ngx_strncasecmp(value[1].data, (u_char *) "sent_http_", 10) != 0
|
&& ngx_strncasecmp(value[1].data, (u_char *) "sent_http_", 10) != 0
|
||||||
&& ngx_strncasecmp(value[1].data, (u_char *) "upstream_http_", 14) != 0)
|
&& ngx_strncasecmp(value[1].data, (u_char *) "upstream_http_", 14) != 0
|
||||||
|
&& ngx_strncasecmp(value[1].data, (u_char *) "cookie_", 7) != 0
|
||||||
|
&& ngx_strncasecmp(value[1].data, (u_char *) "upstream_cookie_", 16)
|
||||||
|
!= 0
|
||||||
|
&& ngx_strncasecmp(value[1].data, (u_char *) "arg_", 4) != 0)
|
||||||
{
|
{
|
||||||
v->get_handler = ngx_http_rewrite_var;
|
v->get_handler = ngx_http_rewrite_var;
|
||||||
v->data = index;
|
v->data = index;
|
||||||
|
Loading…
Reference in New Issue
Block a user