commit | 4cfecf07805e123971a82353bd619785107682b2 | [log] [tgz] |
---|---|---|
author | Emily Stark <[email protected]> | Tue Aug 08 01:05:51 2017 |
committer | Commit Bot <[email protected]> | Tue Aug 08 01:05:51 2017 |
tree | 2fc92fa5c3d6f2da6c2e93a78b66a0c5dc9d0239 | |
parent | d3bc52b3b55a3e64e98a8362edb01decd92434ac [diff] |
Use GetNormalizedValue() to retrieve Expect-CT header value Due to a shameful test coverage oversight on my part :( Expect-CT headers weren't being enumerated properly. Because the syntax is comma-separated directives, EnumerateHeader() was returning only the first directive. This change uses GetNormalizedValue() to retrieve the header value instead. This returns the full list of comma-separated directives, and it also combines multiple header values into one as the spec intends, such that Expect-CT: max-age=100 Expect-CT: enforce is treated identically to Expect-CT: max-age=100,enforce. Bug: 752358 Change-Id: I6b8dd78c706925a1367e9978e3986e3c29ccbd46 Reviewed-on: https://chromium-review.googlesource.com/601441 Reviewed-by: Matt Mueller <[email protected]> Commit-Queue: Emily Stark <[email protected]> Cr-Commit-Position: refs/heads/master@{#492484}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .