##// END OF EJS Templates
diffs: handle very odd case of binary, corrupted diffs which crashed the diff parser.
diffs: handle very odd case of binary, corrupted diffs which crashed the diff parser.

File last commit:

r3826:ab69d1e3 stable
r3831:0f09c1a7 stable
Show More
git_diff_js_chars.diff
7 lines | 398 B | text/x-diff | DiffLexer
diff --git "a/\"><img src=x onerror=prompt(0)>/\"><img src=x onerror=prompt(1)>.txt" "b/\"><img src=x onerror=prompt(0)>/\"><img src=x onerror=prompt(1)>.txt"
index e69de29..8eb97de 100644
--- "a/\"><img src=x onerror=prompt(0)>/\"><img src=x onerror=prompt(1)>.txt"
+++ "b/\"><img src=x onerror=prompt(0)>/\"><img src=x onerror=prompt(1)>.txt"
@@ -0,0 +1 @@
+Ehlo eglo
\ No newline at end of file