gitea/modules/markup
Dejan Kitic af6be75adb
Valid email address should only start with alphanumeric (#28174)
This fixes issue #27847 where regular expression allowed email address
to start with special symbols. Valid email addresses should start with
alphanumeric character, and as such will be rendered as email.

Added test cases from the bug report to validate, such input will not be
rendered anymore as email address.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-04-20 19:18:14 +08:00
..
asciicast
common
console
csv
external Uniform all temporary directories and allow customizing temp path (#32352) 2025-04-08 16:15:28 +00:00
internal
markdown markup: improve code block readability and isolate copy button (#34009) 2025-04-19 05:53:39 +00:00
mdstripper
orgmode Refactor markup render to fix various path problems (#34114) 2025-04-04 23:45:23 +08:00
camo.go
camo_test.go
html.go Valid email address should only start with alphanumeric (#28174) 2025-04-20 19:18:14 +08:00
html_codepreview.go
html_codepreview_test.go
html_commit.go Refactor markup render to fix various path problems (#34114) 2025-04-04 23:45:23 +08:00
html_email.go Valid email address should only start with alphanumeric (#28174) 2025-04-20 19:18:14 +08:00
html_emoji.go
html_internal_test.go Refactor markup render to fix various path problems (#34114) 2025-04-04 23:45:23 +08:00
html_issue.go Refactor markup render to fix various path problems (#34114) 2025-04-04 23:45:23 +08:00
html_issue_test.go Refactor markup render to fix various path problems (#34114) 2025-04-04 23:45:23 +08:00
html_link.go Refactor markup render to fix various path problems (#34114) 2025-04-04 23:45:23 +08:00
html_mention.go Refactor markup render to fix various path problems (#34114) 2025-04-04 23:45:23 +08:00
html_node.go Refactor markup render to fix various path problems (#34114) 2025-04-04 23:45:23 +08:00
html_test.go Valid email address should only start with alphanumeric (#28174) 2025-04-20 19:18:14 +08:00
main_test.go
render.go Fix markdown render behaviors (#34122) 2025-04-05 11:56:48 +08:00
render_helper.go Refactor markup render to fix various path problems (#34114) 2025-04-04 23:45:23 +08:00
render_link.go Refactor markup render to fix various path problems (#34114) 2025-04-04 23:45:23 +08:00
render_link_test.go
renderer.go
sanitizer.go
sanitizer_custom.go
sanitizer_default.go
sanitizer_default_test.go
sanitizer_description.go
sanitizer_description_test.go