Skip to content

Conversation

@sergio-d-lemos
Copy link
Contributor

This change fixes an issue unintentionally introduced by a previous commit where I added the Content-Security-Policy HTTP header to the Web Console application. The "upgrade-insecure-requests" tells the browser to automatically upgrade HTTP requests to HTTPS, which ends up breaking the assets loading in some browsers when running the Web Console with HTTP only.

I tested by browsing all the Web Console tabs in Chrome and Safari.

…Content-Security-Policy header.

Fixes issues loading assets when serving the Web Console via HTTP.
@sergio-d-lemos sergio-d-lemos changed the title AMQ-9739: Removed "upgrade-insecure-requests" from the Web Console's … AMQ-9739: Removed "upgrade-insecure-requests" from the Web Console's Content-Security-Policy header Jul 11, 2025
@jbonofre jbonofre merged commit 35197b4 into apache:main Aug 21, 2025
1 check passed
jbonofre pushed a commit that referenced this pull request Aug 21, 2025
…Content-Security-Policy header. (#1472)

Fixes issues loading assets when serving the Web Console via HTTP.

(cherry picked from commit 35197b4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants