Skip to content

Commit 1659ed6

Browse files
committed
Update MailManager.php
1 parent 1b7f792 commit 1659ed6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Manager/MailManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ private function parseBodyUrl($body)
298298
foreach ($matches as $match) {
299299
$url = $match[2];
300300

301-
if (strpos($url, 'http:') === false) {
301+
if (strpos($url, 'http:') === false && strpos($url, 'https:') === false) {
302302
$newUrl = $request->getSchemeAndHttpHost() . $url;
303303
$body = str_replace($url, $newUrl, $body);
304304
}

0 commit comments

Comments
 (0)