Permalink
Browse files

Unescape the filename to ensure that filenames containing '&' are dis…

…played correctly
  • Loading branch information...
1 parent e901894 commit 6c2675c9cd1348f64a929dc39b56e144dc359f88 @leachbj leachbj committed with Sep 25, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 html/views/history/history.js
@@ -244,7 +244,7 @@ var showDiff = function() {
p.insertBefore(document.createTextNode(name1 + " -> "), link);
}
- link.appendChild(document.createTextNode(finalFile));
+ link.appendChild(document.createTextNode(finalFile.unEscapeHTML()));
button.setAttribute("representedFile", finalFile);
link.setAttribute("representedFile", finalFile);

0 comments on commit 6c2675c

Please sign in to comment.