{"action":"created","issue":{"url":"https://api.github.com/repos/piwik/piwik/issues/7075","labels_url":"https://api.github.com/repos/piwik/piwik/issues/7075/labels{/name}","comments_url":"https://api.github.com/repos/piwik/piwik/issues/7075/comments","events_url":"https://api.github.com/repos/piwik/piwik/issues/7075/events","html_url":"https://github.com/piwik/piwik/issues/7075","id":55530645,"number":7075,"title":"Content type application/json breaks JSONP","user":{"login":"everflux","id":985728,"avatar_url":"https://avatars.githubusercontent.com/u/985728?v=3","gravatar_id":"","url":"https://api.github.com/users/everflux","html_url":"https://github.com/everflux","followers_url":"https://api.github.com/users/everflux/followers","following_url":"https://api.github.com/users/everflux/following{/other_user}","gists_url":"https://api.github.com/users/everflux/gists{/gist_id}","starred_url":"https://api.github.com/users/everflux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everflux/subscriptions","organizations_url":"https://api.github.com/users/everflux/orgs","repos_url":"https://api.github.com/users/everflux/repos","events_url":"https://api.github.com/users/everflux/events{/privacy}","received_events_url":"https://api.github.com/users/everflux/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/piwik/piwik/labels/Bug","name":"Bug","color":"fc2929"},{"url":"https://api.github.com/repos/piwik/piwik/labels/Easy%20pick","name":"Easy pick","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/piwik/piwik/milestones/72","labels_url":"https://api.github.com/repos/piwik/piwik/milestones/72/labels","id":850567,"number":72,"title":"Piwik 2.11.0","description":"Pool of tickets we pick issues to work on. This release may include DB schema upgrades.\r\n","creator":{"login":"mattab","id":466765,"avatar_url":"https://avatars.githubusercontent.com/u/466765?v=3","gravatar_id":"","url":"https://api.github.com/users/mattab","html_url":"https://github.com/mattab","followers_url":"https://api.github.com/users/mattab/followers","following_url":"https://api.github.com/users/mattab/following{/other_user}","gists_url":"https://api.github.com/users/mattab/gists{/gist_id}","starred_url":"https://api.github.com/users/mattab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattab/subscriptions","organizations_url":"https://api.github.com/users/mattab/orgs","repos_url":"https://api.github.com/users/mattab/repos","events_url":"https://api.github.com/users/mattab/events{/privacy}","received_events_url":"https://api.github.com/users/mattab/received_events","type":"User","site_admin":false},"open_issues":22,"closed_issues":78,"state":"open","created_at":"2014-11-03T02:42:12Z","updated_at":"2015-01-26T23:33:33Z","due_on":"2015-02-11T11:00:00Z","closed_at":null},"comments":2,"created_at":"2015-01-26T20:08:45Z","updated_at":"2015-01-27T11:31:26Z","closed_at":null,"body":"I get this error in the chrome console\r\n\r\n```\r\nFailed to load resource: the server responded with a status of 500 (Internal Server Error) (20:52:42:320 | error, network)\r\n  at https://example.com/?module=API&callback=jQuery19108562055646907538_1422301960073&method=VisitsSummary.get&idSite=1&call=&format=JSON&jsonp=callback&token_auth=deadbeef&date=2015-01-26&period=month&_=1422301960074\r\n> \r\n```\r\n\r\nThis seems to be cause by a wrong mime type, owncloud has implemented an according change:\r\nhttps://github.com/owncloud/core/commit/eecd4bd18e49ff7c3e93961574ed9b6f7adb3b1c referenced in this issue: https://github.com/owncloud/core/issues/7869\r\n\r\nSteps to reproduce:\r\nUse JSONP with host that has\r\n```\r\nX-Content-Type-Options: nosniff\r\n```\r\nheader set."},"comment":{"url":"https://api.github.com/repos/piwik/piwik/issues/comments/71632387","html_url":"https://github.com/piwik/piwik/issues/7075#issuecomment-71632387","issue_url":"https://api.github.com/repos/piwik/piwik/issues/7075","id":71632387,"user":{"login":"everflux","id":985728,"avatar_url":"https://avatars.githubusercontent.com/u/985728?v=3","gravatar_id":"","url":"https://api.github.com/users/everflux","html_url":"https://github.com/everflux","followers_url":"https://api.github.com/users/everflux/followers","following_url":"https://api.github.com/users/everflux/following{/other_user}","gists_url":"https://api.github.com/users/everflux/gists{/gist_id}","starred_url":"https://api.github.com/users/everflux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everflux/subscriptions","organizations_url":"https://api.github.com/users/everflux/orgs","repos_url":"https://api.github.com/users/everflux/repos","events_url":"https://api.github.com/users/everflux/events{/privacy}","received_events_url":"https://api.github.com/users/everflux/received_events","type":"User","site_admin":false},"created_at":"2015-01-27T11:31:26Z","updated_at":"2015-01-27T11:31:26Z","body":"I tested it with Chromium and got the error message above. It did not yet investiage with Firefox."}}