Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Failure to parse scientific numbers in json #437

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

Failure to parse scientific numbers in json #437

z0r0 opened this issue Sep 14, 2018 · 1 comment

Comments

@z0r0
Copy link
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
Copy link
Contributor Author

z0r0 commented Sep 17, 2018

Made #438 for a quick fix.

@buixor buixor closed this as completed in 2a7cb69 Oct 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant