Skip to content

Revert icon reimplementation as inline style#10113

Merged
aduth merged 2 commits intomainfrom
aduth-revert-icon-inline-style
Feb 20, 2024
Merged

Revert icon reimplementation as inline style#10113
aduth merged 2 commits intomainfrom
aduth-revert-icon-inline-style

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented Feb 20, 2024

🛠 Summary of changes

Reverts #10065 and #10098

There appears to be some conflicts introduced with those pull requests related to content security policy, specifically in that revising application nonce directives restricts previously-unrestricted inline stylesheets for Acuant (and probably Threatmetrix).

Related Slack discussion: https://gsa-tts.slack.com/archives/C056RD1NEHW/p1708096788793429

I have a tentative fix for the conflict, but the revert allows for more time to test.

📜 Testing Plan

Repeat Testing Plan from #10065 and #10098

@aduth aduth merged commit ca3c16c into main Feb 20, 2024
@aduth aduth deleted the aduth-revert-icon-inline-style branch February 20, 2024 16:18
aduth added a commit that referenced this pull request Feb 20, 2024
aduth added a commit that referenced this pull request Feb 27, 2024
aduth added a commit that referenced this pull request Feb 28, 2024
…unrestricted inline styles (#10114)

* Revert "Revert icon reimplementation as inline style (#10113)"

This reverts commit ca3c16c.

* Remove style-src nonce for unrestricted inline styles

changelog: Bug Fixes, Content-Security Policy, Fix conflict with style-src nonce for unsafe inline styles

* Add regression specs

* Avoid mutating default configuration
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