Skip to content
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

Move SAML Post inline javascript to script tag #11677

Merged
merged 1 commit into from
Aug 16, 2022

Conversation

marcusdacoregio
Copy link
Contributor

To avoid relying on HTML event handlers and adding unsafe-* rules to CSP, the javascript is moved to a <script> tag. This also allows a better browser compatibility.

Tested on Chrome Version 104.0.5112.79 (Official Build) (x86_64), Firefox 100.0 Build 20220428192727 and Safari Version 15.5 (17613.2.7.1.8)

Closes gh-11676

To avoid relying on HTML event handlers and adding unsafe-* rules to CSP, the javascript is moved to a <script> tag. This also allows a better browser compatibility

Closes spring-projectsgh-11676
@marcusdacoregio marcusdacoregio added status: duplicate A duplicate of another issue type: bug A general bug in: saml2 An issue in SAML2 modules labels Aug 10, 2022
@marcusdacoregio marcusdacoregio added this to the 5.8.0-M2 milestone Aug 10, 2022
@marcusdacoregio marcusdacoregio self-assigned this Aug 10, 2022
@sjohnr sjohnr modified the milestones: 5.8.0-M2, 5.8.0-M3 Aug 15, 2022
@jzheaux jzheaux merged commit 7359bd5 into spring-projects:5.8.x Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: saml2 An issue in SAML2 modules status: duplicate A duplicate of another issue type: bug A general bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants