Commit 72b218920553c90a5afa9be5676011c7c0f8a85b

Authored by Rory Fitzpatrick
1 parent bf7175e0
Exists in master and in 1 other branch production

Properly escape backtrace attributes to avoid invalid XML

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
public/javascripts/notifier.js
... ... @@ -972,8 +972,8 @@ printStackTrace.implementation.prototype = {
972 972 // '" number="' + matches[3] + '" />');
973 973  
974 974 backtrace.push({
975   - 'function': matches[1],
976   - file: file,
  975 + 'function': Util.escape(matches[1]),
  976 + file: Util.escape(file),
977 977 line: matches[3]
978 978 });
979 979 }
... ...