From 4b07f746390afb2d7b5963c9ccc7fdc508ab0c8e Mon Sep 17 00:00:00 2001 From: kink Date: Mon, 17 Jun 2002 08:33:45 +0000 Subject: [PATCH] Do not display email addr as link in View Headers git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2959 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/read_body.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/read_body.php b/src/read_body.php index c8a6ed76..6e7f2212 100644 --- a/src/read_body.php +++ b/src/read_body.php @@ -470,7 +470,9 @@ if (isset($view_hdr)) { $s .= '    ' . nl2br($second[$j]); $j++; } - parseEmail($s); + if(strtolower($f) != 'message-id:') { + parseEmail($s); /* Find and linkify emailaddresses except msgid */ + } if (isset($f)) { echo "$f$s"; } -- 2.25.1