Open Bug 1422527 Opened 7 years ago Updated 2 years ago

Improve JSON Viewer's content-type regexes

Categories

(DevTools :: JSON Viewer, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: Oriol, Unassigned)

References

Details

While I was writing a webextension to allow more encoding in JSON Viewer, I noticed that in bug 1388335 I should have used better regular expressions in the fixSave function. They should be case-insensitive, parse tokens, and allow spaces between some tokens. This isn't much important, it only implies that you may get application/json instead of the correct content type in "View Page Info" or when saving.
Product: Firefox → DevTools
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.