litejs / json-lite

Fast non-blocking JSON viewer for Chrome and Firefox
195 stars 16 forks source link

Extension tries to display .jar files as JSON #54

Closed TheSkullbot closed 1 year ago

TheSkullbot commented 3 years ago

Bug :

How to reproduce :

Expected behavior :

Versions :

lauriro commented 3 years ago
$ curl -I https://media.forgecdn.net/files/3060/564/RebornCore-1.16-4.4.2%2Bbuild.73.jar
HTTP/1.1 200 OK
Content-Type: application/x-amz-json-1.0

JSON Lite kicks in when there is json in Content-Type header. Will think which workaround would be best for misconfigured servers.