diff --git a/url.bs b/url.bs index 9ffc894..514f094 100644 --- a/url.bs +++ b/url.bs @@ -2538,7 +2538,7 @@ and then runs these steps: file host state.
  • -

    Otherwise, if c is U+003A (:) and insideBrackets is false, then: +

    Otherwise, if c is U+003A (:) and insideBrackets is false:

    1. If buffer is the empty string, host-missing validation error, @@ -2546,7 +2546,8 @@ and then runs these steps:

    2. If state override is given and state override is - hostname state, then return. + hostname state, then return failure. +

    3. Let host be the result of host parsing buffer with url is not special. @@ -2566,7 +2567,7 @@ and then runs these steps:

    4. url is special and c is U+005C (\) -

      then decrease pointer by 1, and then: +

      then decrease pointer by 1, and:

      1. If url is special and buffer is the empty string, @@ -2576,7 +2577,7 @@ and then runs these steps:

      2. Otherwise, if state override is given, buffer is the empty string, and either url includes credentials or url's - port is non-null, return. + port is non-null, then return failure.

      3. Let host be the result of host parsing buffer with