hivesolutions / appier

Joyful Python Web App development
http://appier.hive.pt
Apache License 2.0
127 stars 22 forks source link

Added fix for postprocessing CSR #42

Closed veryprofessionaldodo closed 3 years ago

veryprofessionaldodo commented 3 years ago

Newer features for client-side-rendering require the loading of "blob:" scripts for anti-aliasing purposes, this prevents browser from blocking the necessary requests.

coveralls commented 3 years ago

Coverage Status

Coverage remained the same at 63.885% when pulling 1a0c146753428a3d1a8c484467766ee871047757 on veryprofessionaldodo:master into 69e84a13fafaf745834eabf2d6012d356c4a05a7 on hivesolutions:master.

veryprofessionaldodo commented 3 years ago

@gcandal @joamag I forgot to mention this, but post-processing for CSR requires this to function.

gcandal commented 3 years ago

@veryprofessionaldodo to do what? What the hell is post-processing trying to fetch from RIPE Core that has a script-src?

veryprofessionaldodo commented 3 years ago

It was necessary for the RIPE SDK demo, as the post-processing library requires loading of two scripts that serve as look-up tables for the SMAA pass.

I'll try to manually replace the content-security to add that variable, instead of changing the framework itself.

veryprofessionaldodo commented 3 years ago

Yeah, explicitly setting that variable in the demo works, closing the PR.