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, 5 Feb 2024 21:56:25 +0000

Hi,

The url attached example contains a semicolon in the userinfo segment.

Wget rejects this url with the following error message:

*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 both curl and aria2 accept the url example.

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

Thank you,
Bachir

Attachment: wget-input.txt
Description: Text document


reply via email to

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