mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 15:28:39 +09:00
CSP: connect-src 'self' should always include https: and wss: schemes
This commit is contained in:
parent
ee67abc801
commit
96886141e1
8 changed files with 168 additions and 11 deletions
|
|
@ -532,7 +532,7 @@ nsCSPParser::keywordSource()
|
|||
// Special case handling for 'self' which is not stored internally as a keyword,
|
||||
// but rather creates a nsCSPHostSrc using the selfURI
|
||||
if (CSP_IsKeyword(mCurToken, CSP_SELF)) {
|
||||
return CSP_CreateHostSrcFromURI(mSelfURI);
|
||||
return CSP_CreateHostSrcFromSelfURI(mSelfURI);
|
||||
}
|
||||
|
||||
if (CSP_IsKeyword(mCurToken, CSP_STRICT_DYNAMIC)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue