[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #58354] Wget doesn't parse URIs starting with http:/

From: Daniel Stenberg
Subject: [bug #58354] Wget doesn't parse URIs starting with http:/
Date: Tue, 12 May 2020 07:41:10 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0

Follow-up Comment #3, bug #58354 (project wget):

Note that the browser's The WHATWG URL Spec (TWUS) allows that kind of
abomination, while RFC 3986 explicitly requires two slashes to be there.
(Listed in my "URL interop" page at

In fact, TWUS allows an unlimited amount of slashes (and backslashes) to be
present and is still fine with it.

Because browsers allow this, instances of such URLs appear in the wild so it
makes sense to be somewhat accommodating.

In the curl project (which primarily has RFC3986 as guidance), we've still
decided to accept one, two or three slashes as we've seen both one and three
happen in the wild. I don't believe in being more lenient than so.


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]