Commit Graph

2 Commits

Author SHA1 Message Date
Golmote c3ed5b5247 Website: Auto-generate example header with component title, list of aliases and dependencies.
`overrideExampleHeader` can be used to generate only the component title.
2018-03-11 11:11:34 +01:00
Andreas Lind b08cae5603 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
2018-01-31 22:38:01 +01:00