Skip to content

gh-132671: Do not match host+port with proxy bypass macOS rules, match host only. #132672

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

nikola-sh
Copy link

@nikola-sh nikola-sh commented Apr 18, 2025

…if URL contains port

Do not match host+port with proxy bypass rules, match host only.

Issue python#132671
@python-cla-bot
Copy link

python-cla-bot bot commented Apr 18, 2025

All commit authors signed the Contributor License Agreement.

CLA signed

@bedevere-app
Copy link

bedevere-app bot commented Apr 18, 2025

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

@nikola-sh
Copy link
Author

The following commit authors need to sign the Contributor License Agreement:

CLA signed

@nikola-sh nikola-sh closed this Apr 18, 2025
@nikola-sh nikola-sh reopened this Apr 18, 2025
@bedevere-app
Copy link

bedevere-app bot commented Apr 18, 2025

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

@ZeroIntensity ZeroIntensity added the needs backport to 3.13 bugs and security fixes label Apr 21, 2025
Copy link
Member

@ZeroIntensity ZeroIntensity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a test and sign the CLA.

@@ -0,0 +1 @@
Fix issue where system proxy bypass configuration doesn't work with URL with port part.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • We need some context about what module/function is actually being fixed.
  • "system proxy bypass configuration doesn't work" is a bit wordy.
Suggested change
Fix issue where system proxy bypass configuration doesn't work with URL with port part.
Fix proxy bypass on URLs with a port in :mod:`urllib.request`.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants