Opened 5 years ago

Closed 4 years ago

#994 closed Bug (fixed)

Set mime type for OFC data stream

Reported by: vipsoft Owned by:
Priority: low Milestone: Piwik 0.5
Component: Core Keywords:
Cc: Sensitive: no

Description

The JSON data stream that feeds Piwik's Open Flash Chart widgets (e.g., when the URL contains the viewDataTable param) is sent with the text/html header. This should be set to application/json to prevent content munging by "bad" hosts.

Change History (3)

comment:1 Changed 4 years ago by vipsoft (robocoder)

  • Resolution set to wontfix
  • Status changed from new to closed

Abandoned, in favor of comment:ticket:997:1

comment:2 Changed 4 years ago by vipsoft (robocoder)

  • Resolution wontfix deleted
  • Status changed from closed to reopened

comment:3 Changed 4 years ago by vipsoft (robocoder)

  • Resolution set to fixed
  • Status changed from reopened to closed

In [1541],fixes #994 - set content-type to application/json for OFC data feed. Needed for embedded objects.

Note: See TracTickets for help on using tickets.