X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4016d8e2232e0fa2c26183cfe394c65eb2f13655..7a9e92386e7511061d2c2254919db167ad28bfa3:/app/views/user/login.rhtml
diff --git a/app/views/user/login.rhtml b/app/views/user/login.rhtml
index 215385c36..ff988f070 100644
--- a/app/views/user/login.rhtml
+++ b/app/views/user/login.rhtml
@@ -2,9 +2,9 @@
Please login or <%= link_to 'create an account', :controller => 'user', :action => 'new' %>.
<% form_tag :action => 'login' do %>
-<%= hidden_field_tag('referer', params[:referer]) %>
+<%= hidden_field_tag('referer', h(params[:referer])) %>
Email Address: | <%= text_field('user', 'email',{:size => 50, :maxlength => 255}) %> |
Email Address or username: | <%= text_field('user', 'email',{:size => 50, :maxlength => 255}) %> |
Password: | <%= password_field('user', 'password',{:size => 50, :maxlength => 255}) %> |