From 1313cbfdeb33da1e59fda91f65e1fc8467b2bcf9 Mon Sep 17 00:00:00 2001 From: Juanfran Date: Thu, 12 Feb 2015 10:35:03 +0100 Subject: [PATCH] fix xss in the kanban with the fullname --- app/coffee/modules/kanban/main.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/coffee/modules/kanban/main.coffee b/app/coffee/modules/kanban/main.coffee index 65eac846..f0575547 100644 --- a/app/coffee/modules/kanban/main.coffee +++ b/app/coffee/modules/kanban/main.coffee @@ -517,7 +517,7 @@ KanbanUserDirective = ($log) -> html = template(ctx) $el.html(html) username_label = $el.parent().find("a.task-assigned") - username_label.html(ctx.name) + username_label.text(ctx.name) username_label.on "click", (event) -> if $el.find("a").hasClass("noclick") return