[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Semicolon not allowed in userinfo
From: |
Bachir Bendrissou |
Subject: |
Re: Semicolon not allowed in userinfo |
Date: |
Wed, 4 Oct 2023 13:04:33 +0100 |
Hi Tim,
Wget doesn't follow the current specs and the parsing is lenient to
> accept some types of badly formatted URLs seen in the wild.
>
Did you mean to say that the parsing is overly strict, and needs to be more
permissive?
Because not allowing a semicolon is strict parsing, which needs to be
relaxed.
Also, as Daniel pointed out, your curl input example appears to have a
space.
Bachir
On Tue, Oct 3, 2023 at 1:45 PM Daniel Stenberg <daniel@haxx.se> wrote:
> On Tue, 3 Oct 2023, Tim Rühsen wrote:
>
> > My version of curl (8.3.0) doesn't accept it:
> >
> > curl -vvv 'http://a <http://a>;b:c@xyz'
> > * URL rejected: Malformed input to a URL function
>
> That's in no way a legal URL (accortding to RFC 3986) and it is not the
> semicolon that causes curl to reject it. It is the space.
>
> But I don't know if that is maybe your clients or the mailing list
> software
> that botched it so badly?
>
> --
>
> / daniel.haxx.se