Skip to content

Commit b931663

Browse files
mikewestchromium-wpt-export-bot
authored andcommitted
Adjusting //cookie/http-state tests name0031 and name0032.
Chrome and Firefox aligned on treating `"foo;bar"=baz` as a nameless cookie with a value of `"foo`, and `"foo\"bar;baz"=qux` as a nameless cookie with a value of `"foo\"bar`. That is, they both stop parsing the name/value pair when they hit a `;`. This seems aligned with step 1 of https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-05#section-5.3, which defines the `name-value-pair` as everything up to but not including the first `;`. Adjusting these tests accordingly, as discussed in httpwg/http-extensions#1136. Change-Id: I6930f8e18a8c573b21eaea5614e14c3b957ea0bb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2128135 Reviewed-by: Lily Chen <[email protected]> Commit-Queue: Mike West <[email protected]> Cr-Commit-Position: refs/heads/master@{#755255}
1 parent 211c4a9 commit b931663

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Cookie: "foo
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Cookie: "foo\"bar

0 commit comments

Comments
 (0)