24
Views
1
Comments
[Simple Reports With PDF] CSP Issues with styling
Question
simple-reports-with-pdf
Web icon
Forge asset by Huarlem Lima

Content security policy seems to negatively impact styling. There are no reported CSP issues but I can confirm that styling is wrong after applying CSP in our environment and the issue is resolved by removing the CSP. 


Issues are not of 3rd party content but rather of basic font colors, background colors, and other styles applied directly to our application. 

2019-12-01 23-50-25
Pedro Neto
Champion

ChrisFowers wrote:

Content security policy seems to negatively impact styling. There are no reported CSP issues but I can confirm that styling is wrong after applying CSP in our environment and the issue is resolved by removing the CSP. 


Issues are not of 3rd party content but rather of basic font colors, background colors, and other styles applied directly to our application. 

The simple data reports must include styling and import files during file generation. 

My bet is that CSP is preventing these from being included on the document generated. 


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.