Displaying 1 result from an estimated 1 matches for "mtizna".
Did you mean:
bizna
2006 Mar 06
2
DO NOT REPLY [Bug 3584] New: base64 function does not pad output correctly
...e base64 function in authenticate.c does not correcly pad the output data.
This can easily be seen by having it encode N bytes of data, where N is -not- a
multiple of 3. For instance:
base64("123") == "MTIz" (correct value: "MTIz")
base64("1234") == "MTIzNA" (correct value: "MTIzNA==")
Because of this bug, HTTP Basic authentication may not work correctly,
depending on the length of the username and password.
The patch below fixes this problem.
----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<-...