REST API response blocked due to mime type mismatch in IE9+ (BB-7966)

Issue #6828 resolved
Andriy Zhdanov
created an issue

I use bitbucket wiki content via JSONP, but most likely because of missing or wrong 'Content-Type' header, response is blocked by IE9 or IE10.

Example error in IE10:

SEC7112: Script from was blocked due to mime type mismatch

Can be reproduced at in IE10

See also relevant Stack Overflow problem:

Can this be fixed, please?

Comments (9)

  1. Andriy Zhdanov reporter

    Well, I might be able to fix it on my side, by using just '*/*' instead of 'application/javascript, */*' Accept header. Sorry for bothering, feel free to close it.

  2. Gilmore Davidson

    This is also breaking JSONP in Chrome now, and will hit Firefox soon as they will also be adding support for the X-Content-Type-Options: nosniff header.

    As another example, is now broken in Chrome because it won't execute a script tag pointing to a REST resource that returns the MIME type of application/json

  3. Log in to comment