Skip to content

fix: compare authentication scheme case-insensitively#2386

Merged
wwqgtxx merged 2 commits intoMetaCubeX:Alphafrom
TargetLocked:fix-httpauth
Nov 23, 2025
Merged

fix: compare authentication scheme case-insensitively#2386
wwqgtxx merged 2 commits intoMetaCubeX:Alphafrom
TargetLocked:fix-httpauth

Conversation

@TargetLocked
Copy link

According to RFC7617, the scheme should be case-insensitive. In practice, some implementations do use different case styles (example in ureq), causing authentication to fail.

TargetLocked and others added 2 commits November 23, 2025 18:55
Refactor parseBasicProxyAuthorization to use a constant for the prefix and improve case-insensitivity handling.
@wwqgtxx wwqgtxx merged commit 438d413 into MetaCubeX:Alpha Nov 23, 2025
@TargetLocked TargetLocked deleted the fix-httpauth branch February 5, 2026 02:01
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.

2 participants