diff options
author | Dmitry Volyntsev <xeioex@nginx.com> | 2025-07-07 22:40:45 -0700 |
---|---|---|
committer | Dmitry Volyntsev <xeioexception@gmail.com> | 2025-07-08 15:25:58 -0700 |
commit | a4addc9b3145313f74de31b592e3b36714987ea0 (patch) | |
tree | 46bdb66220090b6f0212386514da8ee33ad0ec02 /nginx/ngx_js_regex.c | |
parent | ecc237b079a699537351ddc3dd1ade2f96918451 (diff) | |
download | njs-a4addc9b3145313f74de31b592e3b36714987ea0.tar.gz njs-a4addc9b3145313f74de31b592e3b36714987ea0.zip |
Fixed NULL pointer dereference when processing If-* headers.
Previously, when processing requests with If-Match and
If-Unmodified-Since headers worker process crashed.
For example with the following code:
try { r.return(200) }
catch (e) { r.internalRedirect() }
The fix is to disable not_modified filter as it was done in
nginx perl module nginx/nginx@d9887ee2.
Diffstat (limited to 'nginx/ngx_js_regex.c')
0 files changed, 0 insertions, 0 deletions