Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

External links don't work #10

Open
mrdomino opened this issue Aug 2, 2016 · 1 comment
Open

External links don't work #10

mrdomino opened this issue Aug 2, 2016 · 1 comment

Comments

@mrdomino
Copy link

mrdomino commented Aug 2, 2016

I see this when I try to click on a link from a wiki:

Refused to frame 'https://www.mediawiki.org/wiki/Manual:Configuration_settings' because it violates the following Content Security Policy directive: "frame-src 'self' https://*.mydomain".

In case anyone winds up here by Googling: right-clicking and clicking "Open in New Tab" works in Chromium, but not middle-clicking.

@jparyani
Copy link
Owner

jparyani commented Aug 2, 2016

Sandstorm blocks links from navigating the frame away from the current host by using CSP (and that's the error you're seeing). Mediawiki allows you to be embed arbitrary links in your wiki, and we need to add target="_blank" to all of them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants