Skip to content
This repository has been archived by the owner on Jul 17, 2020. It is now read-only.

Can Extent be configured to download .CSS resources from local network? #758

Open
djangofan opened this issue Feb 1, 2017 · 5 comments
Open

Comments

@djangofan
Copy link

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
@anshooarora
Copy link
Owner

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.

@djangofan
Copy link
Author

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?

@anshooarora
Copy link
Owner

I will find additional cdns to host and user will be able to select a CDN that works for them via config.

@anshooarora
Copy link
Owner

anshooarora commented Feb 7, 2017

I am going to additionally host the resources on:

  1. extentreports: http://extentreports.com
  2. jsDelivr: http://www.jsdelivr.com/

Starting version 3.0.3+.

@mesketh
Copy link

mesketh commented May 8, 2018

@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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants