Set mime type for OFC data stream #994

Closed
robocoder opened this Issue Sep 25, 2009 · 2 comments

1 participant

@robocoder

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.

@robocoder

Abandoned, in favor of comment🎫997:1

@robocoder

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

@robocoder robocoder added this to the Piwik 0.5 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment