From 20d8f465db6de6683de84f6828f9a0b46c1c2a98 Mon Sep 17 00:00:00 2001 From: centaurix Date: Sun, 23 Jun 2002 10:31:28 +0000 Subject: [PATCH] changed preg_match from /AU to /AUi flags to catch headers case insensitive (before that headers like SUBJECT: resulted in a "unkown subject") git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2991 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/imap_messages.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/functions/imap_messages.php b/functions/imap_messages.php index 33b962b6..8502d42c 100755 --- a/functions/imap_messages.php +++ b/functions/imap_messages.php @@ -382,13 +382,13 @@ function sqimap_get_small_header_list ($imap_stream, $msg_list, $issent) { arsort($read_list); $patterns = array ( - "/^To:(.*)\$/AU", - "/^From:(.*)\$/AU", - "/^X-Priority:(.*)\$/AU", - "/^Cc:(.*)\$/AU", - "/^Date:(.*)\$/AU", - "/^Subject:(.*)\$/AU", - "/^Content-Type:(.*)\$/AU" + "/^To:(.*)\$/AUi", + "/^From:(.*)\$/AUi", + "/^X-Priority:(.*)\$/AUi", + "/^Cc:(.*)\$/AUi", + "/^Date:(.*)\$/AUi", + "/^Subject:(.*)\$/AUi", + "/^Content-Type:(.*)\$/AUi" ); $regpattern = ''; -- 2.25.1