Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Wow, GitHub fails for me to render the content over a security error on Safari 16.6.1 / Desktop:

> Refused to execute a script because its hash, its nonce, or 'unsafe-inline' does not appear in the script-src directive of the Content Security Policy.

Other GitHub repositories still render without issues, though. Is there something special about this one?



To clarify: I think, it's legitimate to let the author know that their content fails to render on one of the three major browsers (and displays a blank content area, instead). Similar messages regarding basic interoperability are seen here all the time.

And yes, I find it remarkable that GitHub should fail over a content security error on an active and updated browser engine, which is by no means exotic. I wouldn't have expected this to happen. There may be also a broader issue, which may affect other content, as well.

(None of this is intended to trigger any issues with product identification or anger regarding any platforms or browser vendors.)

BTW: Firefox 118.02 throws a Content-Security-Policy error, as well, but still renders the content, while reporting several issues with the Referrer Policy. (Arguably, it should fail to render in case of a detected content security policy violation.)


Update: This seems to actually be an issue with the Google Analytics opt-out plugin in combination with blocking a default set of beacons.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: