From 1d0e64d8fc3b7be791732a20ae52a07ef45c7eb6 Mon Sep 17 00:00:00 2001 From: lbergman Date: Mon, 12 Feb 2001 15:01:56 +0000 Subject: [PATCH] refined uw security patch git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1127 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/options_highlight.php | 2 +- src/right_main.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/options_highlight.php b/src/options_highlight.php index 3aa5ce0b..2664b387 100644 --- a/src/options_highlight.php +++ b/src/options_highlight.php @@ -78,7 +78,7 @@ echo "[" . _("Edit") . "] ["._("Delete")."]\n"; echo ' '; echo ' \n"; - echo ' ' . $message_highlight_list[$i]['name'] . ' '; + echo ' ' . $message_highlight_list[$i]['name'] . ' '; echo " \n"; echo ' \n"; echo ' '.$message_highlight_list[$i]['match_type'].' = ' . $message_highlight_list[$i]['value']; diff --git a/src/right_main.php b/src/right_main.php index af5b995e..5037fa01 100644 --- a/src/right_main.php +++ b/src/right_main.php @@ -81,7 +81,7 @@ } // compensate for the UW vulnerability - if ($imap_server_type == 'uw' && strstr($mailbox, '../')) { + if ($imap_server_type == 'uw' && strstr($mailbox, '/')) { $mailbox = 'INBOX'; } -- 2.25.1