comparison src/http/ngx_http_core_module.h @ 8469:1bde031b59ff

Location header escaping in redirects (ticket #882). The header is escaped in redirects based on request URI or location name (auto redirect).
author Ruslan Ermilov <ru@nginx.com>
date Mon, 24 May 2021 21:55:20 +0300
parents fdc3d40979b0
children d514f88053e5 01829d162095
comparison
equal deleted inserted replaced
8468:1336a33cff33 8469:1bde031b59ff
297 } ngx_http_err_page_t; 297 } ngx_http_err_page_t;
298 298
299 299
300 struct ngx_http_core_loc_conf_s { 300 struct ngx_http_core_loc_conf_s {
301 ngx_str_t name; /* location name */ 301 ngx_str_t name; /* location name */
302 ngx_str_t escaped_name;
302 303
303 #if (NGX_PCRE) 304 #if (NGX_PCRE)
304 ngx_http_regex_t *regex; 305 ngx_http_regex_t *regex;
305 #endif 306 #endif
306 307