quick-survey icon indicating copy to clipboard operation
quick-survey copied to clipboard

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

Open timmc opened this issue 8 years ago • 2 comments

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”).

timmc avatar Sep 16 '17 16:09 timmc

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.

jeau avatar Dec 30 '17 15:12 jeau

When/If https://github.com/sandstorm-io/sandstorm/issues/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.

Sohalt avatar Nov 14 '18 15:11 Sohalt