"port_in_redirect off" did not work

the bug had been appeared in r2530 and r2534
This commit is contained in:
Igor Sysoev 2009-04-28 06:20:12 +00:00
parent 2cc2893bc1
commit bffd3196cf

View File

@ -357,6 +357,9 @@ ngx_http_header_filter(ngx_http_request_t *r)
else
#endif
port = (port == 80) ? 0 : port;
} else {
port = 0;
}
if (port) {