rhyshort opened a new pull request #1332:
URL: https://github.com/apache/couchdb-fauxton/pull/1332
## Overview
Configure webpack to insert generated css styles as links rather than
inline. This completely removes the need for CSP policies with
`style-src unsafe-inline`, enabling users to have more restrictive
CSP policies.
## Testing recommendations
To verify if the styles are correctly loaded a server with the CSP policy
preventing unsafe-inline styles needs to be used, javascript needs to be
disabled in the browser to verify the styles are correctly applied for the
nonscript use case.
## GitHub issue number
n/a
## Related Pull Requests
<!-- If your changes affects multiple components in different
repositories please put links to those pull requests here. -->
## Checklist
- [x] Code is written and works correctly;
- [ ] Changes are covered by tests;
- [ ] Documentation reflects the changes;
- [ ] Update
[rebar.config.script](https://github.com/apache/couchdb/blob/main/rebar.config.script)
with the correct tag once a new Fauxton release is made
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]