diff src/http/modules/ngx_http_xslt_filter_module.c @ 2882:896db5a09bd2

reset content_type hash value, this fixes a bug when XSLT responses could not be processed by SSI, charset, and gzip filters
author Igor Sysoev <igor@sysoev.ru>
date Mon, 25 May 2009 09:06:29 +0000
parents 26e06e009ced
children 61d5b945730a
line wrap: on
line diff
--- a/src/http/modules/ngx_http_xslt_filter_module.c
+++ b/src/http/modules/ngx_http_xslt_filter_module.c
@@ -837,6 +837,8 @@ ngx_http_xslt_apply_stylesheet(ngx_http_
         r->headers_out.content_type.data = (u_char *) "text/html";
     }
 
+    r->headers_out.content_type_lowcase = NULL;
+
     return b;
 }