From e6960850eab573c5d102d0601aed965160a99cb8 Mon Sep 17 00:00:00 2001 From: jmunro Date: Mon, 17 Jun 2002 14:27:53 +0000 Subject: [PATCH] fix for bug #559257 git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2960 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/imap_mailbox.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions/imap_mailbox.php b/functions/imap_mailbox.php index 53a586d2..6c628af5 100755 --- a/functions/imap_mailbox.php +++ b/functions/imap_mailbox.php @@ -574,7 +574,8 @@ function sqimap_mailbox_list($imap_stream) { $used[$k] = true; } $spec_sub = str_replace(' ', '', $box['formatted']); - $spec_sub = str_replace('*', '', $box['formatted']); + $spec_sub = str_replace('*', '', $spec_sub); + $spec_sub = str_replace('?', '\?', $spec_sub); /* In case of problems with preg here is a ereg version -- 2.25.1