Remove uuid from DNR reporting CSP to prevent it from being abused for tracking.

This commit is contained in:
hackademix 2024-11-12 09:35:37 +01:00
parent b7a5a4a065
commit 6fadd5c4f9
No known key found for this signature in database
GPG Key ID: 231A83AFDA9C2434
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@
const reportingCSP = `${reportedCaps
.map(cap => `${cap}-src 'none'`)
.join(';')
}; report-to noscript-reports-${uuid()}`; // see /content/content.js securitypolicyviolation handler
}; script-src-elem 'none'; report-to noscript-reports-dnr`; // see /content/content.js securitypolicyviolation handler
let updatingSemaphore;