summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-11-30 14:23:57 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-11-30 14:23:57 +0000
commit5f3f2e756b46f42c8a3827eb779885252ae095b4 (patch)
tree0cf971976dbea2f23a30ad5c1d0c6a7c3f7329f5 /app
parentdfc7a9457864097f4a5a4b3abf898e0bd810caf7 (diff)
downloadredmine-5f3f2e756b46f42c8a3827eb779885252ae095b4.tar.gz
redmine-5f3f2e756b46f42c8a3827eb779885252ae095b4.zip
Obfuscates email address on user's account page using javascript.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2072 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/views/account/show.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/account/show.rhtml b/app/views/account/show.rhtml
index fe5724b88..1ddabbaa5 100644
--- a/app/views/account/show.rhtml
+++ b/app/views/account/show.rhtml
@@ -7,7 +7,7 @@
<div class="splitcontentleft">
<ul>
<% unless @user.pref.hide_mail %>
- <li><%=l(:field_mail)%>: <%= mail_to(h(@user.mail)) %></li>
+ <li><%=l(:field_mail)%>: <%= mail_to(h(@user.mail), nil, :encode => 'javascript') %></li>
<% end %>
<% for custom_value in @custom_values %>
<% if !custom_value.value.empty? %>