Merge pull request #18 from theverything/gh-16-docupdate
Replace w3c references with "webkit" gh-16
This commit is contained in:
Коммит
03fa2f75ad
|
@ -98,7 +98,7 @@ header will be constructed using the supplied options.
|
||||||
### Content Security Policy (CSP)
|
### Content Security Policy (CSP)
|
||||||
|
|
||||||
All browsers will receive the webkit csp header except Firefox, which gets its own header.
|
All browsers will receive the webkit csp header except Firefox, which gets its own header.
|
||||||
See [WebKit/W3C specification](http://www.w3.org/TR/CSP/)
|
See [WebKit specification](http://www.w3.org/TR/CSP/)
|
||||||
and [Firefox CSP specification](https://wiki.mozilla.org/Security/CSP/Specification)
|
and [Firefox CSP specification](https://wiki.mozilla.org/Security/CSP/Specification)
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
|
@ -158,7 +158,7 @@ and [Firefox CSP specification](https://wiki.mozilla.org/Security/CSP/Specificat
|
||||||
|
|
||||||
### Example CSP header config
|
### Example CSP header config
|
||||||
|
|
||||||
**Configure the CSP header as if it were the w3c-style header, no need to supply 'options' or 'allow' directives.**
|
**Configure the CSP header as if it were the webkit-style header, no need to supply 'options' or 'allow' directives.**
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
# most basic example
|
# most basic example
|
||||||
|
|
Загрузка…
Ссылка в новой задаче