You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/modules/validation
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>
2 years ago
..
binding.go Improve valid user name check (#20136) 2 years ago
binding_test.go Upgrade chi to v5 (#17298) 3 years ago
glob_pattern_test.go Move macaron to chi (#14293) 3 years ago
helpers.go Improve valid user name check (#20136) 2 years ago
helpers_test.go Improve valid user name check (#20136) 2 years ago
refname_test.go Fix various documentation, user-facing, and source comment typos (#16367) 3 years ago
regex_pattern_test.go Add tag protection (#15629) 3 years ago
validurl_test.go Move macaron to chi (#14293) 3 years ago