-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, November 9, 2005 11:09, Paul Lesneiwski wrote:
>> up, and caused memory issues.  The fix is actually incredibly easy.
>> Open
>> plugins/gpg/setup.php, and around line 211 you should see something
>> like:
>>
>>
>> if ((strrpos($filename,".asc") == (strlen($filename)-4)....
>>
>> Go to that line, and replace the strrpos with strpos (notice the
>> missing extra r this time), and you can then re-enable your gpg plugin.
>>
>> I've already commited this to the cvs branch of the gpg plugin, and it
>> should be in the next release.
>
> Note that there is another instance of strrpos in gpg_decrypt.php

Well spotted, though that one might just result in a filename being
corrupted when attempting to download if it has double extensions.  Still,
an unwanted behavior, and now fixed.

- -- 
Jonathan Angliss
<[EMAIL PROTECTED]>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iEYEARECAAYFAkNyQJsACgkQK4PoFPj9H3NPoACg51R2yv5l4wIcfC9kSC8yD2Wi
z0EAoKeZHMkKaZgT4C8PC0ca3ajx34MG
=9hIV
-----END PGP SIGNATURE-----



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@lists.sourceforge.net
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id)95
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to