diff options
Diffstat (limited to 'mail/squirrelmail/patches/patch-ab')
-rw-r--r-- | mail/squirrelmail/patches/patch-ab | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mail/squirrelmail/patches/patch-ab b/mail/squirrelmail/patches/patch-ab new file mode 100644 index 00000000000..8b45e3fe5b4 --- /dev/null +++ b/mail/squirrelmail/patches/patch-ab @@ -0,0 +1,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'; + } + |