summaryrefslogtreecommitdiff
path: root/src/main/scala/spray/json/JsonParserSettings.scala
Commit message (Collapse)AuthorAgeFilesLines
* Add support for ScalaJS and Scala NativeJakob Odersky2019-04-031-56/+0
| | | | Binary compatibility with previous versions is maintained.
* Seal JsonParserSetting traitJohannes Rudolph2018-11-081-1/+17
| | | | It shouldn't be extended but be used as shown.
* CVE-2018-18853 Limit the number of characters for numbers in the parser, ↵Johannes Rudolph2018-11-071-2/+15
| | | | | | | | | fixes #278 BigInteger/BigDecimal seems to have approx. quadratic runtime for instantiating big numbers from Strings. Lacking a better solution we introduce a character limit for numbers. According to the benchmarks from #278, at 100 digits the constant/linear parts still predominate over the quadratic slowdowns seen with 10000+ digits.
* CVE-2018-18855 Fix uncontrolled recursion in the JsonParser by imposing a ↵Johannes Rudolph2018-11-071-1/+18
| | | | configurable limit on the depth, fixes #286
* Introduce JsonParserSettings to allow customization of parsingJohannes Rudolph2018-10-301-0/+10