Set mime type for OFC data stream #994

robocoder opened this Issue Sep 25, 2009 · 2 comments

1 participant


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.


Abandoned, in favor of comment🎫997:1


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