0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-01-13 17:34:35 +01:00
gitea/routers/web/repo
zeripath 21ed4fd8da
Add warning for BIDI characters in page renders and in diffs (#17562)
Fix #17514

Given the comments I've adjusted this somewhat. The numbers of characters detected are increased and include things like the use of U+300 to make à instead of à and non-breaking spaces.

There is a button which can be used to escape the content to show it.

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Gwyneth Morgan <gwymor@tilde.club>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2022-01-07 02:18:52 +01:00
..
activity.go
attachment.go
blame.go Add warning for BIDI characters in page renders and in diffs (#17562) 2022-01-07 02:18:52 +01:00
branch.go
commit.go Load EasyMDE/CodeMirror dynamically, remove RequireEasyMDE (#18069) 2022-01-05 13:17:25 +01:00
compare.go Load EasyMDE/CodeMirror dynamically, remove RequireEasyMDE (#18069) 2022-01-05 13:17:25 +01:00
download.go
editor.go Load EasyMDE/CodeMirror dynamically, remove RequireEasyMDE (#18069) 2022-01-05 13:17:25 +01:00
editor_test.go
http.go
http_test.go
issue.go Load EasyMDE/CodeMirror dynamically, remove RequireEasyMDE (#18069) 2022-01-05 13:17:25 +01:00
issue_content_history.go
issue_dependency.go
issue_label.go
issue_label_test.go
issue_lock.go
issue_stopwatch.go
issue_test.go
issue_timetrack.go
issue_watch.go
lfs.go Add warning for BIDI characters in page renders and in diffs (#17562) 2022-01-07 02:18:52 +01:00
main_test.go
middlewares.go
migrate.go
milestone.go
projects.go
projects_test.go
pull.go Load EasyMDE/CodeMirror dynamically, remove RequireEasyMDE (#18069) 2022-01-05 13:17:25 +01:00
pull_review.go
release.go Load EasyMDE/CodeMirror dynamically, remove RequireEasyMDE (#18069) 2022-01-05 13:17:25 +01:00
release_test.go
repo.go
search.go
setting.go
setting_protected_branch.go
settings_test.go
tag.go
topic.go
view.go Add warning for BIDI characters in page renders and in diffs (#17562) 2022-01-07 02:18:52 +01:00
webhook.go Add replay of webhooks. (#18191) 2022-01-05 15:00:20 -06:00
wiki.go Add warning for BIDI characters in page renders and in diffs (#17562) 2022-01-07 02:18:52 +01:00
wiki_test.go