paragonie / csp-builder

Build Content-Security-Policy headers from a JSON file (or build them programmatically)
https://paragonie.com/projects
MIT License
544 stars 39 forks source link

Allow 'unsafe-hashed-attributes' to be set #68

Closed fritzmg closed 1 year ago

fritzmg commented 1 year ago

The CSPBuilder supports 'unsafe-hashed-attributes' when reading from an existing JSON. However, there is currently no way to actually set this programmatically. This PR enables that feature.