Skip to content

Commit b0586d0

Browse files
author
Peter Bengtsson
authored
don't allow data: in script-src (github#24730)
1 parent 865c94b commit b0586d0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

middleware/csp.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ export default function csp(req, res, next) {
3535
objectSrc: ["'self'"],
3636
scriptSrc: [
3737
"'self'",
38-
'data:',
3938
// For use during development only! This allows us to use a performant webpack devtool setting (eval)
4039
// https://webpack.js.org/configuration/devtool/#devtool
4140
isDev && "'unsafe-eval'",

0 commit comments

Comments
 (0)