Revision: 1267
http://mrbs.svn.sourceforge.net/mrbs/?rev=1267&view=rev
Author: jberanek
Date: 2009-11-14 20:56:04 +0000 (Sat, 14 Nov 2009)
Log Message:
-----------
* Fixed a regular expression used for IMAP quoting, received as
a patch from Thomas Bleher.
Modified Paths:
--------------
mrbs/trunk/web/auth_imap.inc
Modified: mrbs/trunk/web/auth_imap.inc
===================================================================
--- mrbs/trunk/web/auth_imap.inc 2009-11-13 23:40:48 UTC (rev 1266)
+++ mrbs/trunk/web/auth_imap.inc 2009-11-14 20:56:04 UTC (rev 1267)
@@ -34,7 +34,7 @@
*/
function quoteIMAP($str)
{
- return preg_replace('/(["\\])/', '\\$1', $str);
+ return preg_replace('/(["\\\\])/', '\\$1', $str);
}
/* authValidateUser($user, $pass)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits