Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduced a 'url-allow-http' keyword to the CSP configuration.
If present in trusted-types directive, it will treat all http: and https: URLs like TrustedURLs. Fixes w3c#65. Such behavior still allows the sites to have a custom, type-only policy for URL sinks (even for policies that allow javascript: URLs and custom schemes), while allowing a relaxed (but DOM-XSS free) for sites that commonly use regular http(s): URLs in URL sinks.
- Loading branch information