X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=functions%2Furl_parser.php;h=de49b1e8cded733571d0a1370d32d681c741d934;hb=843204d4070cba2a59f5161147efb84938431ad6;hp=c1dbcf71d379cd4a4e98102883b4973e69eb28eb;hpb=7e235a1a75c0544d1b41270f54568990b3af112a;p=squirrelmail.git diff --git a/functions/url_parser.php b/functions/url_parser.php index c1dbcf71..de49b1e8 100644 --- a/functions/url_parser.php +++ b/functions/url_parser.php @@ -56,7 +56,8 @@ function parseEmail (&$body) { if( eregi($Email_RegExp_Match, $body, $regs) ) { if ($compose_new_win == '1') { - $body = str_replace($regs[0], ''.$regs[0].'', $body); + $comp_uri = '../src/compose.php?send_to='.urlencode($regs[0]); + $body = str_replace($regs[0], ''.$regs[0].'', $body); } else { $body = str_replace($regs[0], '