Details
-
Bug
-
Resolution: Fixed
-
Low
Description
I've noticed recently that when browsing a Bitbucket account using a custom domain, assets from Amazon CloudFront CDN are no longer loading. (Namely the icon font and a few other CORS related issues)
Here are some of the errors I'm seeing in the console: (Chrome 43, OS X)
Font from origin 'https://d3oaxc4q5k2d6q.cloudfront.net' has been blocked from loading by Cross-Origin Resource Sharing policy: The 'Access-Control-Allow-Origin' header has a value 'https://bitbucket.org' that is not equal to the supplied origin. Origin 'http://CUSTOM.DOMAIN.com' is therefore not allowed access.
Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://bitbucket.org') does not match the recipient window's origin ('http://CUSTOM.DOMAIN.com').