bug at searching parsed DTD/XSLT data
Kuramoto Eiji
ek at kuramoto.org
Thu May 24 03:16:08 UTC 2012
Hi,
I found a tiny bug, it could not find any parsed DTD/XSLT data in
ngx_http_xslt_filter_module.
- Kuramoto Eiji
--- ngx_http_xslt_filter_module.c.orig 2012-03-28 10:56:49.000000000 +0900
+++ ngx_http_xslt_filter_module.c 2012-05-24 11:28:50.000000000 +0900
@@ -810,7 +810,7 @@
file = xmcf->dtd_files.elts;
for (i = 0; i < xmcf->dtd_files.nelts; i++) {
- if (ngx_strcmp(file[i].name, &value[1].data) == 0) {
+ if (ngx_strcmp(file[i].name, value[1].data) == 0) {
xlcf->dtd = file[i].data;
return NGX_CONF_OK;
}
@@ -884,7 +884,7 @@
file = xmcf->sheet_files.elts;
for (i = 0; i < xmcf->sheet_files.nelts; i++) {
- if (ngx_strcmp(file[i].name, &value[1].data) == 0) {
+ if (ngx_strcmp(file[i].name, value[1].data) == 0) {
sheet->stylesheet = file[i].data;
goto found;
}
More information about the nginx-devel
mailing list