Do not display email addr as link in View Headers
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 17 Jun 2002 08:33:45 +0000 (08:33 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 17 Jun 2002 08:33:45 +0000 (08:33 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2959 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/read_body.php

index c8a6ed764d621c8e6c8a701d0ead84653cfaba4e..6e7f22127352083e7673715ab40a8a0f296666f2 100644 (file)
@@ -470,7 +470,9 @@ if (isset($view_hdr)) {
             $s .= '&nbsp;&nbsp;&nbsp;&nbsp;' . nl2br($second[$j]);
             $j++;
         }
-        parseEmail($s);
+        if(strtolower($f) != 'message-id:') {
+               parseEmail($s);         /* Find and linkify emailaddresses except msgid */
+       }
         if (isset($f)) {
             echo "<nobr><tt><b>$f</b>$s</tt></nobr>";
         }