summaryrefslogtreecommitdiffstats
path: root/modules/container/map.go
diff options
context:
space:
mode:
authorAndreas Fischer <boc@balanceofcowards.net>2022-10-12 04:44:09 +0200
committerGitHub <noreply@github.com>2022-10-11 22:44:09 -0400
commit9862936ed3f488896adb6ddc29eb25ef15185c41 (patch)
tree14aa474824129d69d8423254bcf6d07b72706983 /modules/container/map.go
parentb5a54f03a2045afae237f7bcb6eeb6e12f2c2ac5 (diff)
downloadgitea-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