use Host header on img-src 'self' data:
CSP
Some checks failed
Invidious CI / build (push) Failing after 1m9s
Some checks failed
Invidious CI / build (push) Failing after 1m9s
This commit is contained in:
parent
10b4bfa315
commit
937f72bb92
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ module Invidious::Routes::BeforeAll
|
|||
"default-src 'none'",
|
||||
"script-src 'self'",
|
||||
"style-src 'self' 'unsafe-inline'",
|
||||
"img-src 'self' data: " + HOST_URL,
|
||||
"img-src 'self' data: " + env.request.headers["Host"]?,
|
||||
"font-src 'self' data:",
|
||||
"connect-src 'self'" + extra_connect_csp,
|
||||
"manifest-src 'self'",
|
||||
|
|
Loading…
Add table
Reference in a new issue