blob: 8b45e3fe5b417cd40f0b5ec752c130ecec59e58e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$NetBSD: patch-ab,v 1.1 2001/03/29 16:13:08 bouyer Exp $
--- src/right_main.php.orig Thu Mar 29 17:22:25 2001
+++ src/right_main.php Thu Mar 29 17:20:01 2001
@@ -81,7 +81,8 @@
}
// 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';
}
|