Fix CSP source list intersection for CSPEE in blink
As explained in https://github.com/w3c/webappsec-cspee/pull/18, Content-Security-Policy: Embedded Enforcement source list intersection algorithm sometimes computes a wrong intersection of two lists of source expressions. Additionally, blink CSPEE source intersection algorithm was computing a wrong intersection for http://*.com and http://*.example.com. We fix those problems and add a unit test and WP tests. Change-Id: Ie7b85d8c7e978af6b5e87141d257c66e5556be95 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2385458Reviewed-by:Arthur Sonzogni <arthursonzogni@chromium.org> Reviewed-by:
Mike West <mkwst@chromium.org> Commit-Queue: Antonio Sartori <antoniosartori@chromium.org> Cr-Commit-Position: refs/heads/master@{#803799}
Showing
Please register or sign in to comment