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

CSV export fails due to CSP in Sandstorm (app version 2.3.1) #65

Open
timmc opened this issue Sep 16, 2017 · 2 comments
Open

CSV export fails due to CSP in Sandstorm (app version 2.3.1) #65

timmc opened this issue Sep 16, 2017 · 2 comments

Comments

@timmc
Copy link

timmc commented Sep 16, 2017

I have version 2.3.1 running in Sandstorm. Everything seems to work except for the CSV export; I get the following Content Security Policy failure in the console when I click:

Content Security Policy: The page’s settings blocked the loading of a resource at blob:https://8ce2b49e9f718c0c5040eef64e45a008.timmc.sandcats.io:6443/2c95ded0-829b-4e32-afc6-9f65fcff7b27 (“frame-src https://*.timmc.sandcats.io:6443”).

@jeau
Copy link

jeau commented Dec 30, 2017

it is possible to download the csv by bypassing the problem.

Just get out of Sandstorm's frame. With Firefox, right mouse button, -> this frame -> then choose your option: this frame only or open it in a new window. or a new tab.

@Sohalt
Copy link
Contributor

Sohalt commented Nov 14, 2018

When/If sandstorm-io/sandstorm#2602 gets fixed, this should work normally again. Otherwise one could implement the workaround POSTing the blob to the server, which just echoes it back with the correct headers.

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

3 participants