Commit a68d33551d7a7cbb9321fc885154fa821bd6ed6d
Exists in
master
and in
1 other branch
Merge pull request #517 from roryf/master
Fixes notifier.js sending invalid XML in backtrace lines
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 | } | ... | ... |