HTTP JSON detection fails when an encoding is in the response content type #2199

Closed
opened 2026-02-05 03:17:38 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @ssddanbrown on GitHub (Apr 18, 2021).

Due to this line: e4660a5ba2/resources/js/services/http.js (L153)

Can replicate in NGINX via:

charset utf-8;
charset_types application/json;
Originally created by @ssddanbrown on GitHub (Apr 18, 2021). Due to this line: https://github.com/BookStackApp/BookStack/blob/e4660a5ba26231b70d2c974de46111a1924bb34c/resources/js/services/http.js#L153 Can replicate in NGINX via: ``` charset utf-8; charset_types application/json; ```
OVERLORD added the 🐛 Bug💻 Front-End labels 2026-02-05 03:17:38 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#2199