Skip to content

fix(proxy): keep password-only proxy credentials (#10720) - #10752

Merged
diegosouzapw merged 1 commit into
release/v3.8.50from
fix/10720-proxy-password-auth
Aug 19, 2026
Merged

diegosouzapw merged 1 commit into
release/v3.8.50from
fix/10720-proxy-password-auth

Conversation

@diegosouzapw

Copy link
Copy Markdown
Owner

Closes #10720

Root cause: proxyConfigToUrl() and buildProxyUrlString() in open-sse/utils/proxyDispatcher.ts only built the auth segment when username was truthy, silently dropping a password-only proxy credential (RFC-3986 allows scheme://:password@host:port). Both the object-config builder and the URL-rebuild helper used during normalizeProxyUrl() had the same gap. Fixed both call sites to include the auth segment whenever either username or password is present.

Regression test: tests/unit/probe-10720-proxy-password-only-auth.test.ts (3 assertions: password-only, username+password, neither).

@diegosouzapw
diegosouzapw merged commit 12eef01 into release/v3.8.50 Aug 19, 2026
11 checks passed
@diegosouzapw
diegosouzapw deleted the fix/10720-proxy-password-auth branch August 19, 2026 14:48
giauphan pushed a commit to giauphan/OmniRoute that referenced this pull request Aug 20, 2026
muhamadgalihsaputra pushed a commit to niyatna/NiyatnaRoute that referenced this pull request Sep 27, 2026
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.

[bug] 9router proxy registry: ProxyConnectionError despite correct password

2 participants