diff options
author | David Lawrence <dkl@mozilla.com> | 2016-05-10 15:52:59 +0200 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2016-05-10 15:52:59 +0200 |
commit | 6a48e0211dec6ec2d5a73ad1982682b744fb3474 (patch) | |
tree | d9a5796f09e8489cf55dd54474c442e8c51c80d1 /extensions/BugModal | |
parent | ee3196e7a3c314413baa15dcddb4a5f9961630d7 (diff) | |
download | bugzilla-6a48e0211dec6ec2d5a73ad1982682b744fb3474.tar.gz bugzilla-6a48e0211dec6ec2d5a73ad1982682b744fb3474.tar.xz |
Bug 1271635 - XSS when viewing image attachments
Diffstat (limited to 'extensions/BugModal')
-rw-r--r-- | extensions/BugModal/web/bug_modal.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/BugModal/web/bug_modal.js b/extensions/BugModal/web/bug_modal.js index 2d7bb4764..e0ef40a13 100644 --- a/extensions/BugModal/web/bug_modal.js +++ b/extensions/BugModal/web/bug_modal.js @@ -1373,7 +1373,7 @@ function lb_show(el) { .addClass('minor') .text('Close') .appendTo(overlay2); - title.append(el.title); + title.text(el.title); overlay.add(overlay2).click(lb_close); img.add(overlay).animate({ opacity: 1 }, 200); } |