Fix image and plugin CSP
This commit is contained in:
parent
217ffacfdd
commit
ebe7f58726
|
@ -7,8 +7,8 @@ const baseDirectives = Object.assign({},
|
|||
connectSrc: ['*', 'data:'],
|
||||
mediaSrc: ["'self'", 'https:', 'blob:'],
|
||||
fontSrc: ["'self'", 'data:'],
|
||||
imgSrc: ["'self'", 'data:'],
|
||||
scriptSrc: ["'self' 'unsafe-inline' 'unsafe-eval'"],
|
||||
imgSrc: ["'self'", 'data:', 'blob:'],
|
||||
scriptSrc: ["'self' 'unsafe-inline' 'unsafe-eval'", 'blob:'],
|
||||
styleSrc: ["'self' 'unsafe-inline'"],
|
||||
objectSrc: ["'none'"], // only define to allow plugins, else let defaultSrc 'none' block it
|
||||
formAction: ["'self'"],
|
||||
|
|
Loading…
Reference in New Issue