[MRBS-general] Patch: fix preg_replace() call in web/auth_imap.inc
Brought to you by:
jberanek
From: Thomas B. <Tho...@gm...> - 2009-11-14 18:00:30
|
Hi all, the attached patch (against trunk) fixes one preg_replace() call in web/auth_imap.inc. To match a literal \ in preg_replace(), the \ needs to be escaped two times: to protect it from string interpolation and to treat it as a literal backslash in regular expression handling (this was broken by the change from ereg_replace() to preg_replace() in r1222). Regards and thanks for producing this great software! Thomas Bleher |