json scanner should not allow invalid numbers
Original Reporter info from Mantis: BeniBela @benibela
-
Reporter name: Benito van der Zander
Original Reporter info from Mantis: BeniBela @benibela
- Reporter name: Benito van der Zander
Description:
JSON does not allow numbers starting with '0' or '.', or have no digits after '.' or 'e'+-
With this patch it raises an exception on these numbers. For invalid leading chars only if joStrict is set, for invalid exponents always
Mantis conversion info:
- Mantis ID: 37840
- OS: linux
- OS Build: opensuse
- Build: r46992
- Platform: amd64
- Version: 3.3.1
- Fixed in version: 3.3.1
- Fixed in revision: 47005 (#130d9ccd)
- Target version: 3.2.2