New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure to parse scientific numbers in json #437

Closed
z0r0 opened this Issue Sep 14, 2018 · 1 comment

Comments

Projects
None yet
1 participant
@z0r0
Contributor

z0r0 commented Sep 14, 2018

Hello, the resulting json fails to pass through rule 15:

z0r0@mybox temp/test » cat test.json
{
    "foobar": -2.806683719414e-14
}
z0r0@mybox temp/test » jsonlint test.json
Valid JSON

z0r0@mybox temp/test » curl -v --data-binary "@test.json" --header "Content-Type: application/json" http://127.0.0.1/foo.html

2018/09/14 13:10:22 [error] 25386#0: *1 NAXSI_FMT: ip=127.0.0.1&server=127.0.0.1&uri=/foo.html&learning=1&vers=0.56&total_processed=1&total_blocked=1&block=1&zone0=BODY&id0=15&var_name0=&zone1=BODY&id1=15&var_name1=, client: 127.0.0.1, server: localhost, request: "POST /foo.html HTTP/1.1", host: "127.0.0.1"
@z0r0

This comment has been minimized.

Show comment
Hide comment
@z0r0

z0r0 Sep 17, 2018

Contributor

Made #438 for a quick fix.

Contributor

z0r0 commented Sep 17, 2018

Made #438 for a quick fix.

@buixor buixor closed this in 2a7cb69 Oct 9, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment