stable
Clone or download
Read-only
tlp-syntax-highlighting element shows potentially dangerous bidirectional Unicode characters
This is visible when viewing the content of a file in the Git web UI. Part of request #23496: Add warnings when displaying code with bidirectional Unicode text in Git/PR web UI Change-Id: I19e9386ea370c5b3ca9c349d5bd22e6114dc6160
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/git/include/Unicode/DangerousUnicodeText.php | +1 | −1 | Go to diff View file |
M | plugins/pullrequest/scripts/src/app/file-diff/diff-bidirectional-unicode-text.ts | +1 | −1 | Go to diff View file |
R | plugins/git/include/Unicode/potentially-dangerous-bidirectional-characters.json | Go to diff View file | ||
A | src/scripts/syntax-highlight/bidirectional-unicode-text.test.ts | +30 | −0 | Go to diff View file |
A | src/scripts/syntax-highlight/bidirectional-unicode-text.ts | +41 | −0 | Go to diff View file |
M | src/scripts/syntax-highlight/prism.ts | +9 | −0 | Go to diff View file |
M | src/themes/common/css/syntax-highlight.scss | +13 | −0 | Go to diff View file |
M | tsconfig.json | +1 | −1 | Go to diff View file |