-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi folks!
I'm new to roundcubemail (just using it since yesterday) and today I
found out, that passwords that contain german umlauts don't get
authenticated correctly.
After having a look at the sourcecode I found the file that contained
the bug and it is located in imap.inc (iil_C_Login). Attached to this
mail is a patch that fixes this issue, as well as the bugs #1483977 and
#1483886.
I know, that the imap library was taken from ilohamail and therefore I
also informed the ilohamail mailing list about this issue and asked them
to apply this patch too.
The patch can also be downloaded here:
http://tuxx-home.at/projects/roundcubemail/roundcubemail-loginumlauts.diff
PS.: Please reply to me directly as I am not subscribed to the list.
best regards,
- --
| .-. | Alexander Griesser -- <[EMAIL PROTECTED]> | .''`. |
| /v\ \ http://www.tuxx-home.at/ / : :' : |
| /( )\ | GPG-KeyID: 0xA2949B5A | `. `' |
| ^^ ^^ `-------------------------------------------------' `- |
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFGkNn66HVD6KUm1oRAvn/AJ0alB0K3Dc2kbW9s1Q3Pw2P9oczAACgnUYn
mp4nD4FwqVEhwPilFMJZZhc=
=sBPk
-----END PGP SIGNATURE-----
--- imap.inc.orig 2006-09-27 10:51:22.408713456 +0200
+++ imap.inc 2006-09-27 10:50:26.982139576 +0200
@@ -225,7 +225,9 @@
function iil_C_Login(&$conn, $user, $password){
- fputs($conn->fp, "a001 LOGIN $user \"$password\"\r\n");
+ // $passwords needs to be utf8_decode'd so that the german umlauts don't
+ // get corrupted. Updated by [EMAIL PROTECTED], ag
+ fputs($conn->fp, "a001 LOGIN $user \"" . utf8_decode($password) .
"\"\r\n");
do{
$line = iil_ReadReply($conn->fp);