#2683 Subscribe/unsubscribe folders issue

Produces PHP errors
closed-out-of-date
nobody
Folders (317)
5
2009-10-27
2009-10-27
star23
No

In 1.4.20RC2 there's a coding error:

functions/imap_mailbox.php
line 758

if((preg_match('/^inbox'.quotemeta($delimiter).'/i', $mailbox)) ||
should be something like:
if((preg_match('/^inbox' . preg_quote($delimiter, '/') . '/i', $mailbox)) ||

quotemeta() will not escape a forward slash

Discussion

  • The bug you reported has already been fixed, and the fix is committed to the repository. Please update to the latest version in the repository or use a new snapshot. Note that the snapshots might be delayed 24 hours compared to the repository.

    If for some reason your problem still exists, please update this bug report with that information.

    Thank you for your help!

     
    • status: open --> closed-out-of-date