diff options
author | Ruslan Ermilov <ru@nginx.com> | 2021-05-24 21:55:20 +0300 |
---|---|---|
committer | Ruslan Ermilov <ru@nginx.com> | 2021-05-24 21:55:20 +0300 |
commit | 41a241b3ef74dbbe3d82ab2ebbe682919e4a0b90 (patch) | |
tree | 89701bd2d5e83239551cea4a9c79b4292e8b8bc8 /src/http/ngx_http_core_module.h | |
parent | 52d0ec7d1799cc67452c32052e96b8cdace0c7b7 (diff) | |
download | nginx-41a241b3ef74dbbe3d82ab2ebbe682919e4a0b90.tar.gz nginx-41a241b3ef74dbbe3d82ab2ebbe682919e4a0b90.zip |
Location header escaping in redirects (ticket #882).
The header is escaped in redirects based on request URI or
location name (auto redirect).
Diffstat (limited to 'src/http/ngx_http_core_module.h')
-rw-r--r-- | src/http/ngx_http_core_module.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_core_module.h b/src/http/ngx_http_core_module.h index 2341fd463..002d4193a 100644 --- a/src/http/ngx_http_core_module.h +++ b/src/http/ngx_http_core_module.h @@ -299,6 +299,7 @@ typedef struct { struct ngx_http_core_loc_conf_s { ngx_str_t name; /* location name */ + ngx_str_t escaped_name; #if (NGX_PCRE) ngx_http_regex_t *regex; |