Make sure URI are https ones in emails

Fix #91
master
Daniel Berteaud 10 years ago
parent 411490624d
commit 89b896424e
  1. 1
      templates/default/invite.mail.ep
  2. 1
      templates/default/notification.mail.ep

@ -1,6 +1,7 @@
<% <%
my $url = $self->url_for('/')->to_abs; my $url = $self->url_for('/')->to_abs;
$url .= ($url =~ m/\/$/) ? '' : '/'; $url .= ($url =~ m/\/$/) ? '' : '/';
$url =~ s/^http:/https:/;
%> %>
<p> <p>
<%=l 'YOU_ARE_INVITED_TO_A_MEETING' %> <%=l 'YOU_ARE_INVITED_TO_A_MEETING' %>

@ -1,6 +1,7 @@
<% <%
my $url = $self->url_for('/')->to_abs; my $url = $self->url_for('/')->to_abs;
$url .= ($url =~ m/\/$/) ? '' : '/'; $url .= ($url =~ m/\/$/) ? '' : '/';
$url =~ s/^http:/https:/;
%> %>
<p> <p>
<%=l 'SOMEONE_JOINED_A_ROOM' %> <%=l 'SOMEONE_JOINED_A_ROOM' %>

Loading…
Cancel
Save