* This should fix the bugs Lewis was talking about.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1070
7612ce4b-ef26-0410-bec9-
ea0150e637f0
exit;
}
- fputs ($imap_stream, "a001 LOGIN \"" . quotemeta($username) .
- '" "' . quotemeta($password) . "\"\r\n");
+ fputs ($imap_stream, "a001 LOGIN \"" . addslashes($username) .
+ '" "' . addslashes($password) . "\"\r\n");
$read = sqimap_read_data ($imap_stream, 'a001', false, $response, $message);
/** If the connection was not successful, lets see why **/