diff --git a/fetch.bs b/fetch.bs index de4606f20..ccaef810b 100644 --- a/fetch.bs +++ b/fetch.bs @@ -698,6 +698,19 @@ A: nosniff B: sniff A: +
+A:
+B: sniff
+
+
+B: sniff
+
+ A: text/html;", x/x
@@ -763,12 +776,12 @@ a header value value, run these steps. They return a Let position be a position variable for input, initially pointing at the start of input. -
Let temporaryValue be the empty string.
While position is not past the end of input: +
While true:
If position is not past the end of input, then: +
If position is not past the end of input and the + code point at position within input is U+0022 ("):
If the code point at position within input is - U+0022 ("), then: - -
Append the result of collecting an HTTP quoted string from input, - given position, to temporaryValue. +
Append the result of collecting an HTTP quoted string from input, + given position, to temporaryValue. -
Otherwise: - -
Assert: the code point at position within input is - U+002C (,). - -
Advance position by 1. -
Remove all HTTP tab or space from the start and end of temporaryValue.
@@ -809,9 +807,14 @@ a header value value, run these steps. They return a Append temporaryValue to values.
Set temporaryValue to the empty string.
-
Return values. +
If position is past the end of input, then return values. + +
Assert: the code point at position within + input is U+002C (,). + +
Advance position by 1. +
Except for blessed call sites, the algorithm directly above is not to be invoked @@ -9040,6 +9043,7 @@ Brad Porter, Bryan Smith, Caitlin Potter, Cameron McCormack, +Carlo Cannas, 白丞祐 (Cheng-You Bai), Chirag S Kumar, Chris Needham,