diff --git a/app/views/mailer/account_information.html.erb b/app/views/mailer/account_information.html.erb index 70040f8e3..426aacee1 100644 --- a/app/views/mailer/account_information.html.erb +++ b/app/views/mailer/account_information.html.erb @@ -8,4 +8,4 @@ <% end %> -
<%= l(:label_login) %>: <%= auto_link(@login_url).html_safe %>
+<%= l(:label_login) %>: <%= link_to h(@login_url), @login_url %>
diff --git a/app/views/mailer/lost_password.html.erb b/app/views/mailer/lost_password.html.erb index 18d1be303..d740480ad 100644 --- a/app/views/mailer/lost_password.html.erb +++ b/app/views/mailer/lost_password.html.erb @@ -1,4 +1,4 @@<%= l(:mail_body_lost_password) %>
-<%= auto_link(@url).html_safe %>
<%= l(:field_login) %>: <%=h @token.user.login %>
diff --git a/app/views/mailer/register.html.erb b/app/views/mailer/register.html.erb index 2e382e6ba..282deca90 100644 --- a/app/views/mailer/register.html.erb +++ b/app/views/mailer/register.html.erb @@ -1,2 +1,2 @@<%= l(:mail_body_register) %>
-<%= auto_link(@url).html_safe %>
This is a test email sent by Redmine.
-Redmine URL: <%= auto_link(@url).html_safe %>