Revision history for Plack-Middleware-CSP
0.04 20261110
- Fixed the test's nonce extraction: it assumed lowercase hex, but
HTTP::CSPHeader changed the nonce to a longer mixed-case form in
v0.4.0 (2024-12-17), so the pattern matched nothing and the test
failed 2 of 4 subtests on CPAN Testers. It now captures the quoted
nonce value, which fits any format. Surfaced by CPAN Testers report
5cb3cd5a-aa39-11f1-8dda-882129416618.
0.03 20261110
- Fixed the response header name: it was "content-security-protocol",
which no browser reads, so the policy was never enforced. It is now
"Content-Security-Policy" ("policy", not "protocol"). Reported by
lmasarati as github issue #1.
0.02 20220630
- Added reference to older version on github by Leon Timmermans.
- Added a test skip for the Win32 boxes that cannot install HTTP::CSPHeader.
- Made _csp and _nonce "private" methods to improve kwalitee.
- Adding META.json (from MYMETA.json) for the same reason.
0.01 20220628
- Alpha release. Looks okay. :P
Keyboard Shortcuts
Global
s
Focus search bar
?
Bring up this help dialog
GitHub
gp
Go to pull requests
gi
Go to GitHub issues (only if GitHub is preferred repository)