Fix a regression with displaying diff viewer file entries.
Review Request #3820 — Created Jan. 30, 2013 and submitted — Latest diff uploaded
Fix a regression with displaying diff viewer file entries. The "Files Changed" list in the diff viewer broke with Windows-style paths. A previous change was made to fix a JavaScript injection issue, but that caused some escaping issues when using backslashes. We now escape both HTML and JavaScript.
Added some entries with backslashes, and added one with a <script>alert('...')</script>. All were escaped as expected.