From 89b896424ef5ffb341052b099dd7d95d328c3ba7 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 12 Feb 2015 21:28:48 +0100 Subject: [PATCH] Make sure URI are https ones in emails Fix #91 --- templates/default/invite.mail.ep | 1 + templates/default/notification.mail.ep | 1 + 2 files changed, 2 insertions(+) diff --git a/templates/default/invite.mail.ep b/templates/default/invite.mail.ep index 4ed4caa..cc09c25 100644 --- a/templates/default/invite.mail.ep +++ b/templates/default/invite.mail.ep @@ -1,6 +1,7 @@ <% my $url = $self->url_for('/')->to_abs; $url .= ($url =~ m/\/$/) ? '' : '/'; + $url =~ s/^http:/https:/; %>

<%=l 'YOU_ARE_INVITED_TO_A_MEETING' %> diff --git a/templates/default/notification.mail.ep b/templates/default/notification.mail.ep index 55394b2..9e92f62 100644 --- a/templates/default/notification.mail.ep +++ b/templates/default/notification.mail.ep @@ -1,6 +1,7 @@ <% my $url = $self->url_for('/')->to_abs; $url .= ($url =~ m/\/$/) ? '' : '/'; + $url =~ s/^http:/https:/; %>

<%=l 'SOMEONE_JOINED_A_ROOM' %>