From 8db59e56abbf41cb656a575eb4a8d974f1c9c359 Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Thu, 2 Feb 2017 13:59:33 +0100 Subject: [PATCH] Editorial: move Windows drive letter to a more logical location MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also point out that the variant with a trailing “|” is not conforming. Fixes part of #209. --- url.bs | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/url.bs b/url.bs index 7d6ed2dd..73e314a1 100644 --- a/url.bs +++ b/url.bs @@ -68,14 +68,6 @@ DOM, Encoding, IDNA, and Web IDL Standards.

To serialize an integer, represent it as the shortest possible decimal number. -


- -

A Windows drive letter is two code points, of which the first is -an ASCII alpha and the second is either ":" or "|". - -

A normalized Windows drive letter is a Windows drive letter of which -the second code point is ":". -

Parsers

@@ -934,6 +926,15 @@ input might be a relative-URL string.
+

A Windows drive letter is two code points, of which the first is an ASCII alpha +and the second is either ":" or "|". + +

A normalized Windows drive letter is a Windows drive letter of which the second +code point is ":". + +

As per the URL syntax section, only a +normalized Windows drive letter is conforming. +

To shorten a url's path: