Commit 6e9b3b36b981544ecb2b4516ff60a0b31fb2a219

Authored by Victor Costa
Committed by Rodrigo Souto
1 parent 75ebbf5b

Fix xss issue at body_classes

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/views/layouts/application-ng.rhtml
... ... @@ -22,7 +22,7 @@
22 22 DEFAULT_LOADING_MESSAGE = <%="'#{ _('loading...') }'" %>;
23 23 </script>
24 24 </head>
25   - <body class="<%= body_classes %>">
  25 + <body class="<%= h body_classes %>">
26 26 <a href="#content" id="link-go-content"><span><%= _("Go to the content") %></span></a>
27 27  
28 28 <%=
... ...