Comments (3)
I scripted a tiny http server to demonstrate the problem:
https://gist.github.com/jonwolski/27f6b974474051b8ccd3440ff68dba54
It seems to arise when there is a content-type
on a redirect response. The subsequent response gets interpreted with the redirect response's content-type.
It doesn't even have to be OAuth2, but that is where I see this the most, though. My company's IdP server sends content-type: application/json
on the HTTP/2 302
redirect responses.
UPDATE:
I should mention that I experience this in 2.1.0
. From reading the code, it looks like #172 would fix this. I cannot tell if that has been released, and if so, what the release version is.
In fact, I'm pretty confident this is a duplicate of #172 (though this one came first :-) ). Also, the repro case on #173 is much simpler than mine. kudos, to @tlaundal
from jsonview.
Published a new version. It's out for Firefox, still in review for Chrome
from jsonview.
Yup I just haven't gotten around to releasing a new version
from jsonview.
Related Issues (20)
- Is there JSONView for Edge? HOT 1
- Addon should be active depending on content type of final request to page HOT 2
- Add toggle/option to have a dark background (dark theme) HOT 2
- not working for iframes HOT 1
- Firefox Save Page As... saves rendered HTML instead of original JSON HOT 2
- add font size to options menu HOT 9
- Add a configuration to avoid word-wrap
- Add support for Content-Type: application/vnd.spring-boot.actuator.v3+json HOT 1
- With kerberos auth json view doesn't render json HOT 1
- Copy json loses indention HOT 6
- The extension doesn't work HOT 2
- AWS Console usage triggers JsonView trying to parse an HTML page in error HOT 1
- Migrate to Manifest V3
- Wrong character instead of triangle pointing down HOT 20
- Error handling response: TypeError: Cannot read properties of undefined (reading 'textContent') HOT 4
- version 2.5.0 - jsonview not displaying HOT 6
- Extension causes JSON parse error when loading SharePoint page HOT 17
- AMO page's description outdated HOT 3
- Support .jsonc files? HOT 3
- Unexpected non-whitespace character after JSON at position 256 (line 1 column 257) HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsonview.