@ -397,7 +397,11 @@ class DocumentManager
if ($fixLinksHttpToHttps) {
$content = file_get_contents($full_file_name);
$content = str_replace('http://', 'https://', $content);
$content = str_replace(
array('http%3A%2F%2F', 'http://'),
'https://',
$content
);
echo $content;
} else {
readfile($full_file_name);