Skip to content

Allow password with colons#131

Open
RincewindsHat wants to merge 1 commit into
mainfrom
fix/colon_in_password
Open

Allow password with colons#131
RincewindsHat wants to merge 1 commit into
mainfrom
fix/colon_in_password

Conversation

@RincewindsHat
Copy link
Copy Markdown
Member

@RincewindsHat RincewindsHat commented May 28, 2026

fixes #130

If a password (part of the --user option) contains one or more colons (:), it was split at every colon and only the first part of the password was used.
This made sense since the basic auth string is Username:Password but prevents the usage of colons in the password (and also the user name, but whoever puts colons in there may just suffer the consequences).

This patch changes the behaviour to only split at the first colon.

@tectumopticum: Care to try this?

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.

[Question]: special-characters in basic-auth password

1 participant