comparison src/http/ngx_http_parse.c @ 530:4c5d2c627a6c NGINX_0_8_17

nginx 0.8.17 *) Security: now "/../" are disabled in "Destination" request header line. *) Change: now $host variable value is always low case. *) Feature: the $ssl_session_id variable. *) Bugfix: socket leak; the bug had appeared in 0.8.11.
author Igor Sysoev <http://sysoev.ru>
date Mon, 28 Sep 2009 00:00:00 +0400
parents 0161f3197817
children ff463db0be31
comparison
equal deleted inserted replaced
529:b8ac674b0ec9 530:4c5d2c627a6c
1320 1320
1321 return NGX_OK; 1321 return NGX_OK;
1322 1322
1323 unsafe: 1323 unsafe:
1324 1324
1325 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, 1325 if (*flags & NGX_HTTP_LOG_UNSAFE) {
1326 "unsafe URI \"%V\" was detected", uri); 1326 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
1327 "unsafe URI \"%V\" was detected", uri);
1328 }
1327 1329
1328 return NGX_ERROR; 1330 return NGX_ERROR;
1329 } 1331 }
1330 1332
1331 1333