diff options
author | Andreas Fischer <boc@balanceofcowards.net> | 2022-10-12 04:44:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-11 22:44:09 -0400 |
commit | 9862936ed3f488896adb6ddc29eb25ef15185c41 (patch) | |
tree | 14aa474824129d69d8423254bcf6d07b72706983 /modules/container/map.go | |
parent | b5a54f03a2045afae237f7bcb6eeb6e12f2c2ac5 (diff) | |
download | gitea-9862936ed3f488896adb6ddc29eb25ef15185c41.tar.gz gitea-9862936ed3f488896adb6ddc29eb25ef15185c41.zip |
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>
Diffstat (limited to 'modules/container/map.go')
0 files changed, 0 insertions, 0 deletions