Open Source Training Seminar FreePBX Paid Support

Ticket #2701 (closed Patches: fixed)

Opened 8 months ago

Last modified 4 months ago

Change JSON response Content-type to application/json

Reported by: kRutOn Assigned to: gregmac
Priority: minor Milestone: Cut Line
Component: Core - Module Admin Version: 2.4-branch
Keywords: JSON AJAX Cc:
Confirmation: Confirmed SVN Revision (if applicable):
Backend Engine: All Backend Engine Version:

Description

Some proxies such as Apache using mod_proxy_html mangle HTML which causes JSON responses to fail currently. They are marked as "Content-type: text/html" but changing that to its correct MIME type "Content-type: application/json" lets the JSON responses through.

Attachments

freepbx-2.4.0-json-fix.patch (2.7 kB) - added by kRutOn on 02/22/08 13:35:16.
Changes Content-type for JSON responses to application/json

Change History

02/22/08 13:35:16 changed by kRutOn

  • attachment freepbx-2.4.0-json-fix.patch added.

Changes Content-type for JSON responses to application/json

06/05/08 11:18:31 changed by gregmac

  • status changed from new to assigned.
  • confirmation changed from Unreviewed to Confirmed.

06/14/08 20:26:04 changed by gregmac

  • status changed from assigned to closed.
  • resolution set to fixed.

Added in r5773, r5774, r5775

Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads