summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorinferno@chromium.org <inferno@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-02 00:04:32 +0000
committerinferno@chromium.org <inferno@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-02 00:04:32 +0000
commit7eb546401ee80432c3a7498300168424909bedf8 (patch)
tree3dd9fee01caaba43aa930a0e133c501fbf2ac7b9 /chrome
parentedaa05ab147ea0e576dae69da7077957745c8ccc (diff)
downloadchromium_src-7eb546401ee80432c3a7498300168424909bedf8.zip
chromium_src-7eb546401ee80432c3a7498300168424909bedf8.tar.gz
chromium_src-7eb546401ee80432c3a7498300168424909bedf8.tar.bz2
Patch xss in nodeURL_ in chrome://downloads.
BUG=40138 Test=None Review URL: http://codereview.chromium.org/1585012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43414 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/resources/downloads.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/resources/downloads.html b/chrome/browser/resources/downloads.html
index e31847f..375857c 100644
--- a/chrome/browser/resources/downloads.html
+++ b/chrome/browser/resources/downloads.html
@@ -583,7 +583,7 @@ Download.prototype.update = function(download) {
this.nodeSince_.innerHTML = this.since_;
this.nodeDate_.innerHTML = this.date_;
- this.nodeURL_.innerHTML = this.url_;
+ this.nodeURL_.textContent = this.url_;
this.nodeStatus_.innerHTML = this.getStatusText_();
this.danger_.style.display = 'none';