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

Added initial TT implementation #22

Merged
merged 17 commits into from
Sep 1, 2020
Merged

Added initial TT implementation #22

merged 17 commits into from
Sep 1, 2020

Conversation

henrym2
Copy link
Collaborator

@henrym2 henrym2 commented Aug 21, 2020

Fixes #16

Added a Trusted Types implementation to the ISE Security Bundle. This does not include a full CSP module. The idea for this, after discussion in the ISE group, was to implement TT in a way that would be compatable with other bundles (i.e nelmio security bundle), and would not lead to an overwritten or broken CSP header.

  • Tests pass
  • Appropriate changes to README are included in PR

@henrym2 henrym2 self-assigned this Aug 24, 2020
@henrym2 henrym2 added the enhancement New feature or request label Aug 24, 2020
@henrym2 henrym2 requested a review from rowan-m August 24, 2020 15:12
@henrym2 henrym2 marked this pull request as ready for review August 24, 2020 15:13
@henrym2
Copy link
Collaborator Author

henrym2 commented Aug 24, 2020

The decrease in test coverage is due to extending the test suite to include some of the base handlers. The logic in these handlers are fully covered by the tests, the only lacking line is a Symfony core line for registering the subscribers. I can add this in but I dont think it gives any value, and only serves to bloat the tests with un-needed line coverage

Copy link
Collaborator

@rowan-m rowan-m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@henrym2 henrym2 merged commit e6a5713 into main Sep 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement Trusted Types
2 participants