-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Jenkins and plugins versions report
Theme Manager plugin add JENKINS_URL to css files. When user access Jenkins by different address than that configured as JENKINS_URL, the browser blocks some files because of:
"A cross-origin resource sharing (CORS) request was blocked because of invalid or missing response headers of the request or the associated preflight request ."
I believe links to css should be relative.
Reported also as https://issues.jenkins.io/browse/JENKINS-72816
What Operating System are you using (both controller, and any agents involved in the problem)?
Linux, official docker images for jenkins
Reproduction steps
Access jenkins by URL different that configured as JENKINS_URL
Expected Results
relative links to css files
Actual Results
blocked by browser when accessing via different url than JENKINS_URL or different port. For example we use separate port for HTTP2
Anything else?
No response
Are you interested in contributing a fix?
No response
Metadata
Metadata
Assignees
Labels
No labels