|
@@ -81,7 +81,8 @@
|
|
}
|
|
}
|
|
|
|
|
|
// compensate for the UW vulnerability
|
|
// compensate for the UW vulnerability
|
|
- if ($imap_server_type == 'uw' && strstr($mailbox, '/')) {
|
|
|
|
|
|
+ if ($imap_server_type == 'uw' && (strstr($mailbox, '../') ||
|
|
|
|
+ substr($mailbox, 0, 1) == '/')) {
|
|
$mailbox = 'INBOX';
|
|
$mailbox = 'INBOX';
|
|
}
|
|
}
|
|
|
|
|