Make mailto: links work when viewing HTML messages. Security folks, can this be...
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 27 Nov 2007 11:22:32 +0000 (11:22 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 27 Nov 2007 11:22:32 +0000 (11:22 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12789 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/mime.php

index 6112e3c67c6fb6f1afef378989dde3818d01f305..d1511d22fbc9328769388a006fdef89720c2e7f1 100644 (file)
@@ -1847,6 +1847,7 @@ function sq_fix_url($attname, &$attvalue, $message, $id, $mailbox,$sQuote = '"')
             $aUrl = parse_url($attvalue);
             if (isset($aUrl['scheme'])) {
                 switch(strtolower($aUrl['scheme'])) {
+                    case 'mailto':
                     case 'http':
                     case 'https':
                     case 'ftp':