gitea/services/forms
wxiaoguang 2900dc90a7
Improve valid user name check (#20136)
Close https://github.com/go-gitea/gitea/issues/21640

Before: Gitea can create users like ".xxx" or "x..y", which is not
ideal, it's already a consensus that dot filenames have special
meanings, and `a..b` is a confusing name when doing cross repo compare.

After: stricter

Co-authored-by: Jason Song <i@wolfogre.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: delvh <dev.lh@web.de>
2022-11-04 17:04:08 +08:00
..
admin.go Improve valid user name check (#20136) 2022-11-04 17:04:08 +08:00
auth_form.go Rework mailer settings (#18982) 2022-08-02 13:24:18 +08:00
org.go Improve valid user name check (#20136) 2022-11-04 17:04:08 +08:00
repo_branch_form.go Keep path when creating a new branch (#21153) 2022-09-15 21:25:16 +08:00
repo_form_test.go
repo_form.go Add Webhook authorization header (#20926) 2022-11-03 20:23:20 +02:00
repo_tag_form.go
user_form_auth_openid.go Improve valid user name check (#20136) 2022-11-04 17:04:08 +08:00
user_form_hidden_comments.go Move issues related files into models/issues (#19931) 2022-06-13 17:37:59 +08:00
user_form_test.go
user_form.go Improve valid user name check (#20136) 2022-11-04 17:04:08 +08:00