mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 22:40:01 -04:00
Rewrite integrity as an empty string instead of null, apparently null wasn't working..?
This commit is contained in:
parent
00dc1ab595
commit
8844634c76
1 changed files with 5 additions and 1 deletions
|
@ -142,12 +142,16 @@ export const htmlRules: {
|
|||
},
|
||||
src: ["video", "audio"],
|
||||
},
|
||||
{
|
||||
fn: () => "",
|
||||
|
||||
integrity: ["script", "link"],
|
||||
},
|
||||
{
|
||||
fn: () => null,
|
||||
|
||||
// csp stuff that must be deleted
|
||||
nonce: "*",
|
||||
integrity: ["script", "link"],
|
||||
csp: ["iframe"],
|
||||
credentialless: ["iframe"],
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue