forgejo/models/user
Andreas Fischer 9862936ed3
Make e-mail sanity check more precise (#20991)
For security reasons, all e-mail addresses starting with
non-alphanumeric characters were rejected. This is too broad and rejects
perfectly valid e-mail addresses. Only leading hyphens should be
rejected -- in all other cases e-mail address specification should
follow RFC 5322.

Co-authored-by: Andreas Fischer <_@ndreas.de>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2022-10-11 22:44:09 -04:00
..
avatar.go
badge.go
email_address.go Make e-mail sanity check more precise (#20991) 2022-10-11 22:44:09 -04:00
email_address_test.go Make e-mail sanity check more precise (#20991) 2022-10-11 22:44:09 -04:00
error.go
external_login_user.go
follow.go
follow_test.go
list.go
main_test.go
openid.go
openid_test.go
redirect.go
redirect_test.go
search.go
setting.go
setting_keys.go
setting_test.go
user.go
user_test.go
user_update.go