Skip to content

Commit

Permalink
Merge pull request #3139 from catchpoint/fix_email_share_link
Browse files Browse the repository at this point in the history
fix email share link
  • Loading branch information
claud-io authored Feb 5, 2025
2 parents 9bf884f + cdad734 commit ef772d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/include/social_meta_vars.inc
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ $socialTitle = isset($socialTitle) ? $socialTitle : "WebPageTest";
$socialDesc = isset($socialDesc) ? $socialDesc : "View this on WebPageTest.org...";
$emailSubject = "View this on WebPageTest!";
$tweetURI = 'https://twitter.com/intent/tweet?text=' . urlencode($socialDesc) . '&url=' . urlencode($pageURI) . '&via=realwebpagetest';
$emailURI = 'mailto:?subject=' . rawurlencode(htmlspecialchars_decode($emailSubject)) . '&body=' . rawurlencode(htmlspecialchars_decode($socialDesc)) . ' %0D%0A ' . urlencode($pageURI);
$emailURI = 'mailto:?subject=' . rawurlencode(htmlspecialchars_decode($emailSubject)) . '&body=' . rawurlencode(htmlspecialchars_decode($socialDesc) . ' %0D%0A ') . $pageURI;

0 comments on commit ef772d0

Please sign in to comment.