stable

Clone or download

Read-only

Add a warning when viewing diff/file content containing potentially dangerous bidirectional characters in Git web UI

Part of request #23496: Add warnings when displaying code with bidirectional Unicode text in Git/PR web UI Change-Id: I9996afd1b689acbe05c38eaf6aa0c026cc5e1651

Modified Files

Name
M plugins/git/include/GitPHP/controller/Controller_Blame.php +5 −0 Go to diff View file
M plugins/git/include/GitPHP/controller/Controller_Blob.php +5 −0 Go to diff View file
M plugins/git/include/GitPHP/git/FileDiff.php +20 −0 Go to diff View file
A plugins/git/include/Unicode/DangerousUnicodeText.php +61 −0 Go to diff View file
A plugins/git/include/Unicode/potentially-dangerous-bidirectional-characters.json +11 −0 Go to diff View file
M plugins/git/site-content/fr_FR/LC_MESSAGES/tuleap-git.po +11 −0 Go to diff View file
M plugins/git/templates/gitphp/tuleap/blame.tpl +5 −0 Go to diff View file
M plugins/git/templates/gitphp/tuleap/blob.tpl +5 −0 Go to diff View file
M plugins/git/templates/gitphp/tuleap/file-diff-side-by-side.tpl +6 −0 Go to diff View file
M plugins/git/templates/gitphp/tuleap/file-diff.tpl +13 −0 Go to diff View file
A plugins/git/tests/unit/Unicode/DangerousUnicodeTextTest.php +40 −0 Go to diff View file
M plugins/pullrequest/scripts/src/app/file-diff/diff-bidirectional-unicode-text.ts +4 −14 Go to diff View file
M plugins/pullrequest/tsconfig.json +3 −0 Go to diff View file