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

Add nonce support to PwaRuntime #221

Merged
merged 1 commit into from
Jun 17, 2024
Merged

Add nonce support to PwaRuntime #221

merged 1 commit into from
Jun 17, 2024

Conversation

Spomky
Copy link
Member

@Spomky Spomky commented Jun 17, 2024

The update includes the use of Nelmio SecurityBundle for Content Security Policy management. Specifically, it checks if the 'nonce' attribute exists in the PwaRuntime and if not, it retrieves a nonce from ContentSecurityPolicyListener for 'script'. This ensures the secure execution of scripts. In addition, if the 'nonce' attribute is set with the value 'false', the attribute is disabled.

Target branch: 1.3.x
Resolves issue #220

  • It is a Bug fix
  • It is a New feature
  • Breaks BC
  • Includes Deprecations

@Spomky Spomky added the enhancement New feature or request label Jun 17, 2024
@Spomky Spomky added this to the 1.3.0 milestone Jun 17, 2024
@Spomky Spomky self-assigned this Jun 17, 2024
@Spomky Spomky linked an issue Jun 17, 2024 that may be closed by this pull request
The update includes the use of Nelmio SecurityBundle for Content Security Policy management. Specifically, it checks if the 'nonce' attribute exists in the PwaRuntime and if not, it retrieves a nonce from ContentSecurityPolicyListener for 'script'. This ensures the secure execution of scripts.
In addition, if the 'nonce' attribute is set with the value 'false', the attribute is disabled.
@Spomky Spomky force-pushed the features/detect-nelmio branch from fb008ed to 7c7cbbe Compare June 17, 2024 17:24
@Spomky Spomky merged commit fc4934f into 1.3.x Jun 17, 2024
11 checks passed
@Spomky Spomky deleted the features/detect-nelmio branch June 17, 2024 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Detect nelmio bundle
1 participant