convert function names according to locales... bad php, but not much we can
do. Changed quoteIMAP to quoteimap to work around this for now. It's only
used during login as far as I can find.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4633
7612ce4b-ef26-0410-bec9-
ea0150e637f0
}
} elseif ($imap_auth_mech == 'login') {
// Original IMAP login code
- $query = 'LOGIN "' . quoteIMAP($username) . '" "' . quoteIMAP($password) . '"';
+ $query = 'LOGIN "' . quoteimap($username) . '" "' . quoteimap($password) . '"';
$read = sqimap_run_command ($imap_stream, $query, false, $response, $message);
} elseif ($imap_auth_mech == 'plain') {
/* Replace this with SASL PLAIN if it ever gets implemented */
return $String;
}
-function quoteIMAP($str) {
+function quoteimap($str) {
return ereg_replace('(["\\])', '\\\\1', $str);
}