mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-05 15:37:03 +03:00
http:// to https://
This commit is contained in:
parent
749f372042
commit
032fa8c736
4 changed files with 7 additions and 15 deletions
|
|
@ -112,7 +112,7 @@ class LinkFinder
|
|||
$sNameLink = $sLink;
|
||||
if (!\preg_match('/^[a-z]{3,5}\:\/\//i', \ltrim($sLink)))
|
||||
{
|
||||
$sLink = 'http://'.\ltrim($sLink);
|
||||
$sLink = 'https://'.\ltrim($sLink);
|
||||
}
|
||||
|
||||
return '<a '.($bAddTargetBlank ? 'target="_blank" ': '').'href="'.$sLink.'">'.$sNameLink.'</a>';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue