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.go Add Webhook authorization header (#20926) 2022-11-03 20:23:20 +02:00
repo_form_test.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
repo_tag_form.go Add tag protection (#15629) 2021-06-25 16:28:55 +02:00
user_form.go Improve valid user name check (#20136) 2022-11-04 17:04:08 +08:00
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 Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00