soteria
soteria copied to clipboard
BasicAuthenticationMechanism: Unable to use passwords with colon
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.
Nice catch, thanks! I've created #251 to fix this. Could you please verify that patch solves your issue?