Pārlūkot izejas kodu

Make mailto: links work when viewing HTML messages. Security folks, can this be exploited?

pdontthink 17 gadi atpakaļ
vecāks
revīzija
2cb20957be
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      functions/mime.php

+ 1 - 0
functions/mime.php

@@ -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':