diff src/http/modules/ngx_http_ssi_filter_module.c @ 3161:d430c6ab1c99

check unsafe Destination
author Igor Sysoev <igor@sysoev.ru>
date Fri, 25 Sep 2009 09:30:06 +0000
parents 5bc8811728f8
children be47fe127f8c 17995396463d
line wrap: on
line diff
--- a/src/http/modules/ngx_http_ssi_filter_module.c
+++ b/src/http/modules/ngx_http_ssi_filter_module.c
@@ -1908,7 +1908,7 @@ ngx_http_ssi_include(ngx_http_request_t 
 
     args.len = 0;
     args.data = NULL;
-    flags = 0;
+    flags = NGX_HTTP_LOG_UNSAFE;
 
     if (ngx_http_parse_unsafe_uri(r, uri, &args, &flags) != NGX_OK) {
         return NGX_HTTP_SSI_ERROR;