bug-wget
[Top][All Lists]
Advanced

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

Semicolon not allowed in userinfo


From: Bachir Bendrissou
Subject: Semicolon not allowed in userinfo
Date: Mon, 2 Oct 2023 09:55:43 +0100

Hi,

The following url example contains a semicolon in the userinfo segment:


*http://a <http://a>;b:c@xyz*
Wget rejects this url with the following error message:

*http://a <http://a>;b:c@xyz: Bad port number.*

It seems that Wget sees "c" as a port number. When "c" is replaced by a
digit, Wget accepts the url and attempts to resolve "xyz".

It's worth noting that curl and aria2 both accept the url example.

Why is the semicolon not allowed in userinfo, despite that other special
characters are allowed?

Thank you,
Bachir


reply via email to

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