Closed nextdayy closed 6 months ago
following a json file (parsed using JsonFormat.fancyInstance().createParser()),
JsonFormat.fancyInstance().createParser()
{ "chicken": true, "cgow": false, "color": { "saturation": 1.0, "brightness": 1.0, "alpha": 1.0, "hue": 0.9346405, "class": "org.polyfrost.polyui.color.PolyColor" }, "cow5": false, "added": false, "i": 0, "cow2": false } hdeajdiowaghuieanbdcjsaklfbuiawdaufhuaia
arbitrary data can be placed at the end of the file and it still accepts it (I do not think it is processed, however). not sure if this is a massive issue but is unusual behavior - most parsers would reject the above for it.
That should be rejected, indeed. Thank you for reporting this bug!
thank you for the speedy fix!
following a json file (parsed using
JsonFormat.fancyInstance().createParser()
),arbitrary data can be placed at the end of the file and it still accepts it (I do not think it is processed, however). not sure if this is a massive issue but is unusual behavior - most parsers would reject the above for it.