0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-28 12:48:17 +01:00
gitea/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_test.go Make e-mail sanity check more precise (#20991) 2022-10-11 22:44:09 -04:00
email_address.go Make e-mail sanity check more precise (#20991) 2022-10-11 22:44:09 -04:00
error.go
external_login_user.go
follow_test.go
follow.go
list.go
main_test.go
openid_test.go
openid.go
redirect_test.go
redirect.go
search.go
setting_keys.go
setting_test.go
setting.go
user_test.go
user_update.go
user.go