Attempt to fix #1988

This commit is contained in:
Pieter Vander Vennet 2024-06-15 20:11:14 +02:00
parent aeb9d7f710
commit 72d10863b8

View file

@ -392,6 +392,8 @@ class GenerateLayouts extends Script {
}
}
hosts.add("http://www.schema.org") // Schema.org is _not_ encrypted and thus needs an exception
if (hosts.has("*")) {
throw "* is not allowed as connect-src"
}