Re: [whatwg/url] Editorial: clarify URL validity (PR #666)

@domenic commented on this pull request.



> @@ -1170,7 +1170,9 @@ unified model would be, please file an issue.
 
  <li><p>The <a>URL serializer</a> takes a <a for=/>URL</a> and returns an <a>ASCII string</a>. (If
  that string is then <a lt="URL parser">parsed</a>, the result will <a for=url>equal</a> the <a
- for=/>URL</a> that was <a lt="URL serializer">serialized</a>.)
+ for=/>URL</a> that was <a lt="URL serializer">serialized</a>.) The output of the
+ <a>URL serializer</a> is not always a <a>valid URL string</a>. I.e., not all <a for=/>URLs</a> are

I mean, we can rehash that thread here if you want... yes, I think the serializer should always produce valid URLs, either by expanding the definition of valid, or changing the serializer.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/pull/666#discussion_r733904130

Received on Thursday, 21 October 2021 17:31:33 UTC