Skip to content

Commit

Permalink
Merge pull request #1387 from tpage-alfresco/develop
Browse files Browse the repository at this point in the history
Add HTML encoding in AlfBreadcrumb to avoid XSS issues.
  • Loading branch information
tunaaksoy authored Oct 3, 2017
2 parents b45012d + 34fccbd commit 1ceb495
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ define(["dojo/_base/declare",
postCreate: function alfresco_documentlibrary_AlfBreadcrumb__postCreate() {
if (this.label)
{
this.breadcrumbNode.innerHTML = this.message(this.label);
this.breadcrumbNode.innerHTML = this.encodeHTML(this.message(this.label));
}
},

Expand Down

0 comments on commit 1ceb495

Please sign in to comment.