From 3c6dd3d721c744555d952a8845a58bd72a54d1ed Mon Sep 17 00:00:00 2001 From: Raphael Date: Wed, 19 Jan 2011 16:06:44 -0800 Subject: [PATCH] Remove XSS in profile --- app/views/people/_profile_sidebar.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/people/_profile_sidebar.html.haml b/app/views/people/_profile_sidebar.html.haml index 24a8d4b43..01637470a 100644 --- a/app/views/people/_profile_sidebar.html.haml +++ b/app/views/people/_profile_sidebar.html.haml @@ -9,7 +9,7 @@ $(this).closest('li').fadeOut(200); }); $('.delete').bind('ajax:failure', function() { - alert("#{t('.cannot_remove', :name => person.name)}"); + alert(h("#{t('.cannot_remove', :name => person.name)}")); }); });