Re: URL query syntax

2023-10-02 Thread Petr Pisar
V Mon, Oct 02, 2023 at 10:54:54AM +0100, Bachir Bendrissou napsal(a): > Hi, > > Are there any query strings that are invalid and should be rejected by the > Wget parser? > > Wget seems to accept all sorts of strings in the query segment. For example: > > > > *"https://example.com/?a=ba=a

Semicolon not allowed in userinfo

2023-10-02 Thread Bachir Bendrissou
Hi, The following url example contains a semicolon in the userinfo segment: *http://a ;b:c@xyz* Wget rejects this url with the following error message: *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

URL query syntax

2023-10-02 Thread Bachir Bendrissou
Hi, Are there any query strings that are invalid and should be rejected by the Wget parser? Wget seems to accept all sorts of strings in the query segment. For example: *"https://example.com/?a=ba=a "* The URL is accepted with no errors reported, despite missing a