proxy http images to https

This commit is contained in:
Ralf Becker 2020-07-08 20:50:15 +02:00
parent 9cb143d0d3
commit bcf9e1edee

View File

@ -1161,7 +1161,7 @@ app.classes.mail = AppJS.extend(
if (u.substr(0,7) == 'http://') if (u.substr(0,7) == 'http://')
{ {
u = u.replace ('http://',''); u = u.replace ('http://','');
url = url.replace('http://', 'https://'); url = url.replace('http://', 'https://proxy.egroupware.org/7d510d4f7966f97ab56580425ddb4811e707c018/');
protocol = 'http'; protocol = 'http';
} }
else if (u.substr(0,8) == 'https://') else if (u.substr(0,8) == 'https://')