tulios / json-viewer

It is a Chrome extension for printing JSON and JSONP.
https://chrome.google.com/webstore/detail/json-viewer/gbmdgpbipfallnflgajpaliibnhdgobh
MIT License
3.3k stars 675 forks source link

Empty strings are treated as URLs #279

Open ImRodry opened 3 years ago

ImRodry commented 3 years ago

If your JSON page has an empty string ("", no spaces) and you have clickableUrls set to true, the extension will treat them as URLs and lead you to an about:blank page on click. I've tested this across websites and it happened to be the case in all situations so far.

turkerdev commented 3 years ago

Here is the example https://api.github.com/repos/tulios/json-viewer "gravatar_id": "",

ImRodry commented 3 years ago

Thank you @bajosiaa!