0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-02-17 18:35:01 +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 Check if email is used when updating user (#21289) 2022-09-29 14:36:29 +02:00
user_update.go Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00
user.go Check if email is used when updating user (#21289) 2022-09-29 14:36:29 +02:00