On Mon, 23 Apr 2012, Roman Mamedov wrote:

Okay, with -g

$ curl -gv 2a02:1788:4fd:cd::c742:cde2

Eeek. That's an invalid URL syntax. curl should probably flat out reject it.

* About to connect() to 2a02:1788:4fd:cd::c742 port 80 (#0)
*   Trying 2a02:1788:4fd:cd::c742...

Nothing changed.

It changed drastically. Now it didn't complain on bad globbing. So your original stated problem was exactly what I pointed to.

It seems to be a recent regression, this works properly in at least version 7.21.

You mean you could pass in an illegal URL back then and it happened to guess what you meant? If so, that was mostly good luck.

We can possibly change this to work like before (as I can't recall the exact reason for the change of behavior), but you should never *expect* badly formatted URLs to work.

--

 / daniel.haxx.se



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to