comparison src/http/ngx_http_parse.c @ 3252:ef8cfb09a50b stable-0.7

merge r3162, r3183: WebDAV fixes: *) check unsafe Destination *) omit '\0' from "Location" header on MKCOL request
author Igor Sysoev <igor@sysoev.ru>
date Mon, 26 Oct 2009 17:45:55 +0000
parents cfc35172c7fd
children 8152369f7037
comparison
equal deleted inserted replaced
3251:ff7e1ec2c9a4 3252:ef8cfb09a50b
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