Hash :b08cae56 Author : Date :
2018-01-31T22:38:01
Add support for highlighting CSP, HSTS, and HPKP (#1275)
* Add CSP support.
* Add HPKP support.
* Add HSTS support.
* Updates based on feedback.
* Updates based on feedback.
* Updates based on feedback.
* Updates based on feedback.
* Updates based on feedback.
* Updates based on feedback.
* Updates based on Feedback.
* Fix parentheses.
* List csp, hpkp, and hsts in components.js
* Add missing base64 chars to 'nonce-...' and 'sha-...' source expressions
* Add support for 'sha384-...' and 'sha512-...' source expressions
* Add tests and examples for csp
* Add tests and examples for hsts
* Add tests and examples for hpkp
* hpkp: Include the sha256 hash in the directive itself
Prevent the numbers in the base64 string from being classified
as "safe" or "unsafe".
* Rebuild the minified csp and hpkp components
* Rebuild the "Show Language" plugin as well
* Fix copy/paste error in test description
script-src example.com;
----------------------------------------------------
[
["directive", "script-src "],
"example.com;"
]
----------------------------------------------------
Checks for CSP directive followed by a source expression.