You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, because base-uri isn't in the base object of content security policy directives we pass into the CSP header logic, we never check for a base-uri filter and the filter below (which I believe you would logically conclude would work, reading the README) will never run:
This is confusing, and we should clarify the list of CSP directives that will work as policy value filters out of the box, and note that further directives should be added using the first filter (or Altis config) prior to filtering.
The documentation for the main
content_security_policies
filter shows addingbase-uri
:However, because
base-uri
isn't in the base object of content security policy directives we pass into the CSP header logic, we never check for abase-uri
filter and the filter below (which I believe you would logically conclude would work, reading the README) will never run:This is confusing, and we should clarify the list of CSP directives that will work as policy value filters out of the box, and note that further directives should be added using the first filter (or Altis config) prior to filtering.
Alternatively, we could expand our base list to include all supported directives.
The text was updated successfully, but these errors were encountered: