Martin Brennan fa6b87a1bf
SECURITY: Strip unrendered unicode bidirectional chars in code blocks (#15032)
When rendering the markdown code blocks we replace the
offending characters in the output string with spans highlighting a textual
representation of the character, along with a title attribute with
information about why the character was highlighted.

The list of characters stripped by this fix, which are the bidirectional
characters considered relevant, are:

U+202A
U+202B
U+202C
U+202D
U+202E
U+2066
U+2067
U+2068
U+2069
2021-11-22 10:43:03 +10:00
..
2021-11-16 16:17:10 +01:00
2021-10-28 11:24:55 +02:00
2021-11-09 14:54:59 +01:00
2021-11-09 14:54:59 +01:00
2021-11-09 14:54:59 +01:00
2021-11-09 14:54:59 +01:00
2021-11-16 16:17:10 +01:00
2021-11-16 16:17:10 +01:00
2021-11-16 16:17:10 +01:00
2021-05-18 15:11:41 +02:00
2021-11-16 16:17:10 +01:00
2021-11-09 14:54:59 +01:00
2021-11-16 16:17:10 +01:00
2021-11-16 16:17:10 +01:00
2021-11-16 16:17:10 +01:00
2021-11-16 16:17:10 +01:00
2021-11-16 16:17:10 +01:00
2021-11-09 14:54:59 +01:00
2021-11-09 14:54:59 +01:00
2021-11-02 18:49:00 +01:00
2021-11-16 16:17:10 +01:00
2021-11-16 16:17:10 +01:00
2021-11-16 16:17:10 +01:00
2021-11-16 16:17:10 +01:00
2021-11-09 14:54:59 +01:00
2021-11-09 14:54:59 +01:00
2021-11-16 16:17:10 +01:00
2021-11-16 16:17:10 +01:00
2021-11-16 16:17:10 +01:00
2021-11-16 16:17:10 +01:00
2021-11-09 14:54:59 +01:00
2021-11-16 16:17:10 +01:00
2021-11-09 14:54:59 +01:00
2021-11-16 16:17:10 +01:00
2021-11-09 14:54:59 +01:00
2021-11-09 14:54:59 +01:00
2021-11-16 16:17:10 +01:00
2021-11-09 14:54:59 +01:00
2021-10-28 11:24:55 +02:00
2021-10-28 11:24:55 +02:00
2021-11-16 16:17:10 +01:00
2021-11-16 16:17:10 +01:00
2021-11-09 14:54:59 +01:00
2021-11-16 16:17:10 +01:00
2021-11-16 16:17:10 +01:00
2021-11-09 14:54:59 +01:00
2021-11-16 16:17:10 +01:00
2021-11-09 14:54:59 +01:00
2021-10-27 14:24:43 +02:00
2021-10-05 15:59:26 +02:00
2021-11-09 14:54:59 +01:00
2021-10-05 15:59:26 +02:00
2021-11-16 16:17:10 +01:00
2021-11-16 16:17:10 +01:00
2021-11-09 14:54:59 +01:00
2021-10-05 15:59:26 +02:00
2021-11-16 16:17:10 +01:00
2021-11-09 14:54:59 +01:00
2021-11-16 16:17:10 +01:00
2021-11-16 16:17:10 +01:00
2021-11-16 16:17:10 +01:00
2021-11-16 16:17:10 +01:00
2021-11-16 16:17:10 +01:00
2021-10-05 15:59:26 +02:00
2021-11-09 14:54:59 +01:00
2021-11-02 18:49:00 +01:00
2021-11-16 16:17:10 +01:00
2021-11-16 16:17:10 +01:00
2021-11-16 16:17:10 +01:00
2021-11-16 16:17:10 +01:00
2021-10-05 15:59:26 +02:00
2021-10-05 15:59:26 +02:00
2021-11-16 16:17:10 +01:00
2021-11-16 16:17:10 +01:00
2021-11-16 16:17:10 +01:00
2021-11-09 14:54:59 +01:00
2021-11-09 14:54:59 +01:00
2021-11-16 16:17:10 +01:00
2021-10-27 14:24:43 +02:00
2021-11-09 14:54:59 +01:00
2021-10-27 14:24:43 +02:00
2021-11-09 14:54:59 +01:00
2021-11-16 16:17:10 +01:00
2021-11-09 14:54:59 +01:00
2021-10-05 15:59:26 +02:00
2021-10-05 15:59:26 +02:00
2021-11-16 16:17:10 +01:00
2021-11-09 14:54:59 +01:00
2021-11-09 14:54:59 +01:00
2021-10-27 14:24:43 +02:00
2021-11-16 16:17:10 +01:00
2021-11-09 14:54:59 +01:00
2017-02-24 11:35:33 +01:00