This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
forgejo/modules/web
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
..
middleware Improve valid user name check (#20136) 2022-11-04 17:04:08 +08:00
routing Fix various typos (#20338) 2022-07-12 23:32:37 +02:00
route.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
route_test.go Update HTTP status codes to modern codes (#18063) 2022-03-23 12:54:07 +08:00
wrap.go Refactor Router Logger (#17308) 2022-01-20 19:41:25 +08:00
wrap_convert.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00