fix for bug #559257
authorjmunro <jmunro@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 17 Jun 2002 14:27:53 +0000 (14:27 +0000)
committerjmunro <jmunro@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 17 Jun 2002 14:27:53 +0000 (14:27 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2960 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/imap_mailbox.php

index 53a586d2490914f402140ffd919aa3c28dcf996a..6c628af58b19c18a6254348f306a9ddbf169cf34 100755 (executable)
@@ -574,7 +574,8 @@ function sqimap_mailbox_list($imap_stream) {
                     $used[$k] = true;
                 }
                 $spec_sub = str_replace('&nbsp;', '', $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