Bug 2373760
| Summary: | curl v8.11.1 doesn't properly parse 'type=' in -F command line arguments | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Alex Macdonald <almacdon> |
| Component: | curl | Assignee: | Jan Macku <jamacku> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 42 | CC: | jamacku, jmigacz, kdudka, lzaoral, msekleta, paul, vmihalko |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | curl-8.11.1-5.fc42 | Doc Type: | --- |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2025-06-22 05:59:15 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
FEDORA-2025-8de848d6a8 (curl-8.11.1-5.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2025-8de848d6a8 FEDORA-2025-8de848d6a8 has been pushed to the Fedora 42 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-8de848d6a8` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-8de848d6a8 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2025-8de848d6a8 (curl-8.11.1-5.fc42) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report. |
Hi! I just updated to F42 and encountered this issue when trying to upload a file using curl. For example: `curl -F "file=@${FILE};type=application/${TYPE}+tgz" [..]` I would expect curl to upload my file. Instead, I see the following error: "curl: (26) Failed to open/read local data from file/application" It looks like this was introduced in curl v8.11 with this change: https://github.com/curl/curl/commit/9664d5a5475fdc661c23a0f329dfdfaf558e2e0b It was later fixed in a commit included in v8.12: https://github.com/curl/curl/commit/f7e065f314f9d307af8f194a16c95cc754fefd4a See upstream issue: https://github.com/curl/curl/issues/15761 I've built and locally tested a handful of curl versions, and this looks to be fixed as of 8.12 as indicated above. Reproducible: Always Steps to Reproduce: 1. `curl -F "file=@${FILE};type=application/${TYPE}+tgz" [..]` Actual Results: curl: (26) Failed to open/read local data from file/application Expected Results: File to uploaded without issue