Skip to content

Conversation

@Cycloctane
Copy link
Contributor

What do these changes do?

basic auth in aiohttp-remotes cannot properly split user-pass string and proceed authentication when the password contains colon :.

According to rfc7617: the first colon in a user-pass string separates user-id and password from one another. Correct parsing requires limiting the maxsplit to 1.

Are there changes in behavior for the user?

Users can now set passwords that contain colons in basic auth.

Related issue number

Checklist

  • I think the code is well written
  • Unit tests for the changes exist
  • Documentation reflects the changes

@Dreamsorcerer Dreamsorcerer merged commit d77bd56 into aio-libs:master Aug 18, 2025
13 checks passed
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