Skip to content

fix(auth): reject malformed URL ports before credential matching - #4362

Open
WOLIKIMCHENG wants to merge 1 commit into
github:mainfrom
WOLIKIMCHENG:fix/auth-malformed-port-url
Open

fix(auth): reject malformed URL ports before credential matching#4362
WOLIKIMCHENG wants to merge 1 commit into
github:mainfrom
WOLIKIMCHENG:fix/auth-malformed-port-url

Conversation

@WOLIKIMCHENG

Copy link
Copy Markdown
Contributor

Description

Prevent malformed explicit ports from matching auth.json entries before URL validation. Valid explicit ports continue matching by hostname.

Testing

  • .venv/bin/python -m pytest tests/test_authentication.py -q
  • uvx ruff@0.15.0 check src tests
  • git diff --check

@WOLIKIMCHENG
WOLIKIMCHENG requested a review from mnriem as a code owner August 28, 2026 09:34
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