Chromium Code Reviews
DescriptionMatch `path-part` with `url` case-sensitively
This fixes a bug where if final character of `path-part`
in `source-expression` is the U+002F SOLIDUS character (/),
matching with path of the `url` was performed case-insensitively.
Less strict matching can lead to CSP bypass in certain
circumstances or, at least, user confusion.
This fixes the bug by ensuring that `path-part` matching is
performed case-sensitively, per
https://w3c.github.io/webappsec-csp/#match-url-to-source-expression
BUG=590505
R=mkwst@chromium.org
Committed: https://crrev.com/7bd0a75e3f71a10e71ded31ea5905d5ee3d992eb
Cr-Commit-Position: refs/heads/master@{#386032}
Patch Set 1 #Patch Set 2 : Update AUTHORS #
Messages
Total messages: 17 (7 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||