Bug 2149224 - --noproxy not working as expected, upstream fixes available
Summary: --noproxy not working as expected, upstream fixes available
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: curl
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kamil Dudka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-29 09:12 UTC by Florian Bezdeka
Modified: 2022-11-29 12:34 UTC (History)
5 users (show)

Fixed In Version: curl-7.86.0-4.fc38
Clone Of:
Environment:
Last Closed: 2022-11-29 12:34:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github curl curl issues 9813 0 None closed IP addresses mismatch in `--noproxy` and related env variable (in 7.86.0) 2022-11-29 09:12:04 UTC

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


Note You need to log in before you can comment on or make changes to this bug.