Skip to content

fix: curl NO_PROXY wildcards and IPv6 tokens - #3

Closed
hc-ui wants to merge 5 commits into
mainfrom
cursor/star-noproxy-aa74
Closed

hc-ui wants to merge 5 commits into
mainfrom
cursor/star-noproxy-aa74

Conversation

@hc-ui

@hc-ui hc-ui commented Aug 26, 2026

Copy link
Copy Markdown
Owner

curl treats *.local as a wildcard and accepts [::1] / :port on NO_PROXY tokens; the previous model only handled a bare * and left IPv6 brackets unmatched. redact_proxy also dropped brackets around IPv6 hosts.

This is a different gap from #1 (suggest -o) and #2 (CIDR like modern curl).

Changes

Tests

PYTHONPATH=src python3 -m pytest -q → 33 passed.

@hc-ui
hc-ui marked this pull request as ready for review August 26, 2026 10:30
@hc-ui

hc-ui commented Aug 26, 2026

Copy link
Copy Markdown
Owner Author

同一份修改已经基于当前 main(含 #1/#2)重新开出并合并:#4

这个 PR 和已合并的 #1/#2 冲突(各自改了同一段 NO_PROXY 逻辑),所以改关掉,不是修改丢了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant