Skip to content

Commit

Permalink
Fix error 2 :-(
Browse files Browse the repository at this point in the history
  • Loading branch information
lubomudr committed Jun 29, 2024
1 parent 878d4bb commit 8f1bbdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion naxsi_src/naxsi_skeleton.c
Original file line number Diff line number Diff line change
Expand Up @@ -2095,7 +2095,7 @@ ngx_http_naxsi_request_id_variable(ngx_http_request_t* r,
{
u_char* req_id = naxsi_request_id(r);

if (req_id == NULL) {
if (req_id[0] == 0) {
v->not_found = 1;
return NGX_OK;
}
Expand Down

0 comments on commit 8f1bbdb

Please sign in to comment.