Skip to content

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`.

@nikola-sh
Copy link
Author

Please add a test and sign the CLA.

Hello!
CLA was already signed.
The test has been added.

@serhiy-storchaka serhiy-storchaka added the needs backport to 3.14 bugs and security fixes label May 8, 2025
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.

3 participants