The HTTP Content-Security-Policy
base-uri
directive restricts the URLs which can be used in a document's <base>
element. If this value is absent, then any URI is allowed. If this directive is absent, the user agent will use the value in the <base>
element.
CSP version | 2 |
---|---|
Directive type | Document directive |
default-src fallback | No. Not setting this allows any URL. |