This text, given in the CSP specification, seems to be incorrect, and the other sources cited are correct.
But this https://www.w3.org/TR/CSP/#source-expression section, which defines what the original CSP expression is, does not actually indicate the relevant regulatory requirements.
CSP, , url , https://www.w3.org/TR/CSP/#ref-for-grammardef-host-part-2, :
host-part ASTERISK U + 002A (*):
- "
*" . - ( U + 002E FULL STOP (
.)) ASCII-- url s, " ".
U + 002E FULL STOP (.) , url , .
,
*.example.com ,
*,
.example.com ,
url , .
, https://foo.example.com , - .example.com, https://example.com , - .example.com ( ).
2017-10-13
A while CSP .
CSP :
, example.com ( , ) *.example.com ( ( ..))
, , " ", " ".