Hi all,
I recently discovered a bug [0] concerning the xslt_stylesheet directive as
documented here [1].
The root cause of this issue is that the parser of the directive also
modifies it instead of just reading it.
I have created a patch which lets the parser work on a copy of that
data, so that changes to it will not affect subsequent requests.
In my opinion this is merely a workaround, the parser probably should
not modify the data it parsed from the configuration file, but I didn't
feel comfortable to make such a big change.
Since this is my first time working with nginx I am seeking feedback on
the approach I used.
Kind regards,
Karim Malhas
[0] https://trac.nginx.org/nginx/ticket/1416
[1] https://nginx.org/en/docs/http/ngx_http_xslt_module.html#xslt_stylesheet
--
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel