New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

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

Comments

Projects
None yet
3 participants
@djangofan

djangofan commented Feb 1, 2017

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

This comment has been minimized.

Show comment
Hide comment
@anshooarora

anshooarora Feb 1, 2017

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.

Owner

anshooarora commented Feb 1, 2017

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

This comment has been minimized.

Show comment
Hide comment
@djangofan

djangofan Feb 1, 2017

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?

djangofan commented Feb 1, 2017

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

This comment has been minimized.

Show comment
Hide comment
@anshooarora

anshooarora Feb 2, 2017

Owner

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

Owner

anshooarora commented Feb 2, 2017

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

@anshooarora

This comment has been minimized.

Show comment
Hide comment
@anshooarora

anshooarora Feb 7, 2017

Owner

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+.

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

This comment has been minimized.

Show comment
Hide comment
@mesketh

mesketh 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

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 join this conversation on GitHub. Already have an account? Sign in to comment