Welcome! Log In Create A New Profile

Advanced

[nginx] Dav: emit a warning about unsafe URI.

Ruslan Ermilov
December 23, 2013 09:14AM
details: http://hg.nginx.org/nginx/rev/5c52ff68f380
branches:
changeset: 5492:5c52ff68f380
user: Ruslan Ermilov <ru@nginx.com>
date: Mon Dec 23 18:12:03 2013 +0400
description:
Dav: emit a warning about unsafe URI.

diffstat:

src/http/modules/ngx_http_dav_module.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 74bfa803a5aa -r 5c52ff68f380 src/http/modules/ngx_http_dav_module.c
--- a/src/http/modules/ngx_http_dav_module.c Mon Dec 23 18:12:00 2013 +0400
+++ b/src/http/modules/ngx_http_dav_module.c Mon Dec 23 18:12:03 2013 +0400
@@ -604,7 +604,7 @@ destination_done:

duri.len = last - p;
duri.data = p;
- flags = 0;
+ flags = NGX_HTTP_LOG_UNSAFE;

if (ngx_http_parse_unsafe_uri(r, &duri, &args, &flags) != NGX_OK) {
goto invalid_destination;

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Dav: emit a warning about unsafe URI.

Ruslan Ermilov 888 December 23, 2013 09:14AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 142
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready