mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
proxy http images to https
This commit is contained in:
parent
9cb143d0d3
commit
bcf9e1edee
@ -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://')
|
||||||
|
Loading…
Reference in New Issue
Block a user