Details
-
New Feature
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
-
jenkins-2.200
Description
Dealing with Content-Security-Policy is just too annoying, and there's too many plugins trying to just serve static files in Jenkins, often for no real reason.
We need second domain support for static resources (DirectoryBrowserSupport) such that accessing that is possible without authentication, just with a token, and that token is used for linked resources as well.
Attachments
Issue Links
- relates to
-
JENKINS-59849 Spaces don't work in resource root paths
-
- Closed
-
-
JENKINS-59874 Support resource domain
-
- Open
-
- links to
Hi All, we are using a performance tool that generated html content based on the jinja templates and we want to publish those inside Jenkins.
The html content is not displayed properly, I understand that its due to Content Security Policy. When I tried to run some commands like System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", ""), still the html content is not displayed properly. Does it need a jenkins restart ?
Now here comes the question of resoure root URL. I have these files generated and archived inside the Jenkins workspace. What should be the URL I need to provide ?
When I open the html in the browser its pointing to the location in which its present but not any particular website.
Can some one please help ?