]> source.dussan.org Git - gitea.git/commit
Fix the topic validation rule and suport dots (#26286)
authorwxiaoguang <wxiaoguang@gmail.com>
Thu, 3 Aug 2023 09:18:06 +0000 (17:18 +0800)
committerGitHub <noreply@github.com>
Thu, 3 Aug 2023 09:18:06 +0000 (09:18 +0000)
commit539015403f80326d662e31cf9d3a459b3efefcd7
tree8738c457c8f245aeae2201157d2a5f44fafe6125
parentcad22512b8948fa52e1684ec30bb5a6e5d427d5f
Fix the topic validation rule and suport dots (#26286)

1. Allow leading and trailing spaces by user input, these spaces have
already been trimmed at backend
2. Allow using dots in the topic
models/repo/topic.go
models/repo/topic_test.go
options/locale/locale_en-US.ini
web_src/js/features/repo-home.js