Package: curl
Version: 8.8.0-2
Severity: important
X-Debbugs-Cc: samuel.hym+b...@rustyne.lautre.net

Dear Maintainer,

After updating to 8.8.0-2, curl fails on `-L --write-out %{http_code}` on URLs
that are 302-redirected. For instance:

```
$ /usr/bin/curl -o /dev/null -L --write-out '%{http_code}' 
https://github.com/kelseyhightower/nocode/releases/download/1.0.0/nocode-1.0.0.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (43) A libcurl function was given a bad argument
000
```

This breaks opam which uses this combination of options.
Reverting to 8.8.0-1 fixes the issue.

-- System Information:
Debian Release: trixie/sid
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'unstable'), (500, 'testing'), 
(500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.9.7-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to