cloudflare / gortr

The RPKI-to-Router server used at Cloudflare
https://rpki.cloudflare.com
BSD 3-Clause "New" or "Revised" License
309 stars 39 forks source link

trailing garbage in input JSON ignored #93

Open reschke opened 3 years ago

reschke commented 3 years ago

This is a minor issue, but still...

When processing a ROAs JSON, trailing garbage in the json file (like "\nHello World!") is ignored. Instead, a JSON parse failure should be reported.