[imp] IMAP ACLs [PATCH]
Didi Rieder
adrieder at sbox.tugraz.at
Tue Feb 4 19:17:48 PST 2003
Quoting Chris Hastie <lists at oak-wood.co.uk>:
> If you use Horde's PHP shell, selecting the Webmail application does the
> result of this script look odd at all? Obviously I'm not going to ask
> you to tell me what it actually says but it should just be of the form
>
> 0 LOGIN user password
>
> $pass = Secret::read(Secret::getKey('imp'), $_SESSION['imp']['pass']);
> $txid = 0;
> echo "$txid LOGIN ".$_SESSION['imp']['user']." ".$pass."\r\n";
>
> Actually, a thought has just occurred to me, for which reason I won't
> send this to the list - your password wouldn't happen to include a space
> would it? If so, try adding the following shortly after line 270, where
> $pass is defined in _getACL()
>
> if (preg_match("/\W/",$pass)) {
> $pass = '"'.$pass.'"';
> }
Hi Chris,
I tried that, but it doesn't work. When I print out pass there are 4 additional
characters (unprintable characters) attached to the actual password (string
literals?)
Didi
--
-------------------------
Didi Rieder
adrieder at sbox.tugraz.at
PGPKey ID: 3431D0B0
-------------------------
More information about the imp
mailing list