CSV export fails due to CSP in Sandstorm (app version 2.3.1)
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”).
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.
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.