Ticket #1484819: imap-crammd5-auth.diff

File imap-crammd5-auth.diff, 485 bytes (added by neodude, 10 months ago)

implements sirocco's change in comment #2

  • roundcubemail/program/lib/imap.inc

     
    269269    $hash  = md5($hash); 
    270270     
    271271    // generate reply 
    272     $reply = base64_encode('"' . $user . '" "' . $hash . '"'); 
     272    $reply = base64_encode($user . ' ' . $hash); 
    273273     
    274274    // send result, get reply 
    275275    fputs($conn->fp, $reply . "\r\n");