Skip to content

fix handling of empty user in ntlm matching - #22629

Closed
icing wants to merge 2 commits into
curl:masterfrom
icing:nego-ntlm-empty-user-fix
Closed

icing wants to merge 2 commits into
curl:masterfrom
icing:nego-ntlm-empty-user-fix

Conversation

@icing

@icing icing commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Line should already have been removed in 7103a93, but neither humans nor clankers caught it. tststs...

Line should already have been removed in 7103a93, but neither
humans nor clankers caught it. tststs...
@icing
icing requested a review from bagder August 20, 2026 11:09
@bagder
bagder requested a lite review from Copilot August 20, 2026 11:36

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes connection reuse matching for NTLM authentication when the username is empty, aligning NTLM reuse behavior with the existing SSPI/empty-credentials handling logic in lib/url.c.

Changes:

  • Remove the unconditional “empty user” rejection from NTLM connection reuse matching so reuse decisions flow through the existing SSPI empty-credentials guard.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread lib/url.c Outdated
@icing icing changed the title fix handling of empty user in ntml matching fix handling of empty user in ntlm matching Aug 20, 2026
@jay

jay commented Aug 20, 2026

Copy link
Copy Markdown
Member

I still disagree reuse of environment user connections is a security issue, if this has a hackerone report can you invite me I want to read it

@jay jay closed this in aab0518 Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants