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

(sandstorm package) use <base target="_blank"> so Markdown links open successfully, in a new tab #14

Open
paulproteus opened this issue Sep 5, 2015 · 0 comments

Comments

@paulproteus
Copy link
Contributor

Steps to reproduce:

  • Create a new brainstorm on e.g. oasis.sandstorm.io
  • Create a card with a link in it, in Markdown format
  • Click the link

Expected behavior:

  • The link opens in a new tab, since Sandstorm doesn't allow the grain iframe to navigate to other base URLs than the grain's base URL

Actual behavior:

  • Clicking seems to do nothing
  • It logs a message to the JS console saying:
Refused to frame 'https://cthuugle.com/' because it violates the following Content Security Policy directive: "frame-src 'self' https://*.oasis.sandstorm.io".

Relevant info:

<base target="_blank" />
@paulproteus paulproteus changed the title (sandstorm package) use <base rel="_blank"> (sandstorm package) use <base target="_blank"> so Markdown links open successfully, in a new tab Sep 5, 2015
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

1 participant