soteria icon indicating copy to clipboard operation
soteria copied to clipboard

BasicAuthenticationMechanism: Unable to use passwords with colon

Open hneubauer opened this issue 6 years ago • 1 comments

There seems to be a bug for me in the BasicAuthenticationMechanism. It's not possible to get the correct credentials if the password contains a colon in it.

The split in the getCredentials method can produce more than two parts and ultimately removes colons from passwords. The password 1234:5678 then becomes the password 1234.

hneubauer avatar Jun 28 '19 13:06 hneubauer

Nice catch, thanks! I've created #251 to fix this. Could you please verify that patch solves your issue?

ggam avatar Jun 28 '19 16:06 ggam