Bug 2149224

Summary: --noproxy not working as expected, upstream fixes available
Product: [Fedora] Fedora Reporter: Florian Bezdeka <florian>
Component: curlAssignee: Kamil Dudka <kdudka>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: kdudka, lzaoral, msekleta, paul, svashisht
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: curl-7.86.0-4.fc38 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-29 12:34:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Florian Bezdeka 2022-11-29 09:12:05 UTC
Description of problem:

The curl version that is currently shipped by Fedora rawhide is affected by a regression that was introduced in 7.86.

The --noproxy argument does not work as expected breaking many workflows behind proxies.


Version-Release number of selected component (if applicable):
7.86

How reproducible:
See https://github.com/curl/curl/issues/9813

Steps to Reproduce:
See https://github.com/curl/curl/issues/9813


Additional info:
The problem has already been solved upstream. The following patches are missing in rawhide to fully solve this problem:

- https://github.com/curl/curl/commit/b1953c1933b369b1217ef0f16053e26da63488c3.patch
- https://github.com/curl/curl/commit/b830f9ba9e94acf672cd191993ff679fa888838b.patch

At least Debian bookworm was also affected and applied the same patches:
https://github.com/curl/curl/issues/9813#issuecomment-1315878462

Comment 1 Kamil Dudka 2022-11-29 09:23:46 UTC
I believe we fixed the noproxy matching a month ago:
https://src.fedoraproject.org/rpms/curl/c/394bdcb95657341453d63fe508d549572fee9083

Which build of curl did you try it with?
$ rpm -q libcurl

Comment 2 Florian Bezdeka 2022-11-29 10:46:54 UTC
Small correction:

https://github.com/curl/curl/commit/b830f9ba9e94acf672cd191993ff679fa888838b.patch is already applied.
Two patches in one file... Sorry.

https://github.com/curl/curl/commit/b1953c1933b369b1217ef0f16053e26da63488c3.patch is the only patch that is still missing.

Tested with libcurl-7.86.0-3.fc38.x86_64