cross
New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
You are here: Foswiki>Tasks Web>Item11511 (11 Apr 2012, GeorgeClark)Edit Attach

Item11511: Helper topics that return JSON should set content type application/json

pencil
Priority: Normal
Current State: Closed
Released In: 1.1.5
Target Release: patch
Applies To: Engine
Component:
Branches: Release01x01 trunk
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
JQueryAjaxHelper and the GroupViewTemplate return JSON as Content-Type: text/html. It should be set as application/json

This breaks plugins that are expecting HTML output based upon the content type.

-- GeorgeClark - 08 Feb 2012

 
Topic revision: r7 - 11 Apr 2012, GeorgeClark - This page was cached on 14 Aug 2018 - 16:12.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy