Modify ./jetty_base/webapps/zimbra/js/Startup1_1_all.js.zgz
- Unzip Startup1_1_all.js.zgz
- Beautify the unzipped JS
- Find something like
Code:
if (j) { for (var h in j) { if (j.hasOwnProperty(h)) { this.__httpReq.setRequestHeader(h, j[h]) } }}
- Add the following script before that section.
Code:
try { JSON.parse(f); j["Content-Type"] = "application/json; charset=utf-8";}catch(e) {}
- Zip this JS and overwrite the original file.
- Ctrl-F5 in the browser.
Statistics: Posted by dibery — Thu Feb 22, 2024 3:41 am