wargio / naxsi

NAXSI is an open-source, high performance, low rules maintenance WAF for NGINX
GNU General Public License v3.0
305 stars 38 forks source link

Fix: "application/reports+json" request parsing as JSON #155

Closed lubomudr closed 4 months ago

lubomudr commented 4 months ago

Hi Request with Content-Type: application/reports+json now parsing as JSON

Also, JSON processing is in accordance with RFC 7159 standard In particular, the JSON format "[1,2,]" is incorrect

wargio commented 4 months ago

that indeed looks like a bug.

lubomudr commented 4 months ago

Another invalid JSON: { [ "there", "is", "no", "way"] }

wargio commented 4 months ago

As usual, awesome job. <3