tags 670126 fixed-upstream kthxbye On Mon, Apr 23, 2012 at 02:01:22PM +0600, Roman Mamedov wrote: > Package: curl > Version: 7.25.0-1 > Severity: normal > > $ curl -v 2a02:1788:4fd:cd::c742:cde2 > * About to connect() to 2a02:1788:4fd:cd::c742 port 80 (#0) > * Trying 2a02:1788:4fd:cd::c742... > > $ curl -v [2a02:1788:4fd:cd::c742:cde2] > curl: (3) [globbing] error: bad range specification after pos 2 > > Globbing is whatever, but the behavior in the first example is completely > wrong and unexpected.
This has now been fixed upstream in commit 72b72fe8, so that curl now rejects numerical IPv6 addresses outside of brackets. You would now need to do something like: > % curl -g [2a02:1788:4fd:cd::c742:cde2] (note the '-g' option, to avoid the globbing error) Cheers -- perl -E '$_=q;$/= @{[@_]};and s;\S+;<inidehG ordnasselA>;eg;say~~reverse'
signature.asc
Description: Digital signature