Package: mt-daapd
Version: 0.9~r1696-1.4
Followup-For: Bug #496217

> Julien BLACHE <[EMAIL PROTECTED]> wrote:
> Even in 0.9~r1696-1.4 still refuses valid credentials for the web 
> interface. I haven't been able to track that down further.

The solution proposed by Martijn Plak is not correct, if you look at
the source of "webserver.c", the method "ws_decodepassword" returns
TRUE if the decoding of the base64 header succeeded. However, TRUE is 
defined as 1, not 0. So, a better solution would be:

+   if((auth) && (TRUE == ws_decodepassword(auth,&username, &password))) {

Hope it helps,

  Jan Willem




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to