Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#659591: curl: '--max-redirs -1' does not function as documented

74 views
Skip to first unread message

Michael Deegan

unread,
Feb 12, 2012, 8:10:02 AM2/12/12
to
Package: curl
Version: 7.21.0-2.1+squeeze1
Severity: normal

Expected behaviour:

As per manpage: "Set this option to -1 to make it limitless."

Actual behaviour:

Error: "curl: option --max-redirs: expected a proper numerical parameter"

-- System Information:
Debian Release: 6.0.4
APT prefers oldstable
APT policy: (500, 'oldstable'), (500, 'stable'), (490, 'testing'), (470, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages curl depends on:
ii libc6 2.13-26 Embedded GNU C Library: Shared lib
ii libcurl3 7.21.0-2.1+squeeze1 Multi-protocol file transfer libra
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime

curl recommends no packages.

curl suggests no packages.

-- debconf-show failed

-MD

--
-------------------------------------------------------------------------------
Michael Deegan Hugaholic http://www.deegan.id.au/
--------------------- Guvax bs vg nf ribyhgvba va npgvba. ---------------------



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

Alessandro Ghedini

unread,
Feb 12, 2012, 9:50:01 AM2/12/12
to
forwarded 659591 http://curl.haxx.se/mail/lib-2012-02/0098.html
found 659591 7.24.0-1
kthxbye

On Sun, Feb 12, 2012 at 08:14:12PM +0800, Michael Deegan wrote:
> Expected behaviour:
>
> As per manpage: "Set this option to -1 to make it limitless."
>
> Actual behaviour:
>
> Error: "curl: option --max-redirs: expected a proper numerical parameter"

This also affects curl 7.24.0-1 in Sid. I've written a simple patch and
forwarded upstream. Thanks for reporting.

Cheers

--
perl -E'$_=q;$/= @{[@_]};and s;\S+;<inidehG ordnasselA>;eg;say~~reverse'

Alessandro Ghedini

unread,
Feb 13, 2012, 2:20:01 PM2/13/12
to
tags 659591 fixed-upstream
kthxbye

On Sun, Feb 12, 2012 at 03:45:35PM +0100, Alessandro Ghedini wrote:
> On Sun, Feb 12, 2012 at 08:14:12PM +0800, Michael Deegan wrote:
> > Expected behaviour:
> >
> > As per manpage: "Set this option to -1 to make it limitless."
> >
> > Actual behaviour:
> >
> > Error: "curl: option --max-redirs: expected a proper numerical parameter"
>
> This also affects curl 7.24.0-1 in Sid. I've written a simple patch and
> forwarded upstream. Thanks for reporting.

The patch has been merged upstream now (commit e71ac0c).
signature.asc
0 new messages