extentreports-java
extentreports-java copied to clipboard
Can Extent be configured to download .CSS resources from local network?
Extent reports don't render if network MalWare detector flags this .css URL as malicous:
https://cdn.rawgit.com/anshooarora/extentreports/a7fadea2f449184064e06465391f689653dea590/cdn/extent.css
Is it possible to configure Extent reports to download this file from a local url? If not, can you add such a configuration?
Date: Wed, 01 Feb 2017 21:23:11 GMT
<br />
Username: host\username@mynetwork
<br />
Source IP: 10.XX.XX.XX
<br />
Reason: BLOCK-MALWARE
<br />
Threat Type: othermalware
<br/>
Threat Reason: Identified as malicious domain or URL. Domain reported and verified as serving malware.
<br/>
<hr />
Notification: WBRS
<br />
Server: or0101dp03.mynetwork
This would be part of offline accessible report and is available only in the pro version. I will host it in another location so if GitHub CDN is blocked, the other will still work.
Trying to understand your last comment: are you saying you'll host the .css file in 2 different locations and the code will try both locations before it renders the report?
I will find additional cdns to host and user will be able to select a CDN that works for them via config.
I am going to additionally host the resources on:
- extentreports: http://extentreports.com
- jsDelivr: http://www.jsdelivr.com/
Starting version 3.0.3+.
@anshooarora Hi - can you tell me how to configure this to bypass CSP issues that I'm having with your https CDN urls.
Many thanks