fix xss in the kanban with the fullname

stable
Juanfran 2015-02-12 10:35:03 +01:00
parent 5246be9f69
commit 1313cbfdeb
1 changed files with 1 additions and 1 deletions

View File

@ -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