Skip to content
Snippets Groups Projects
Commit 57e6e33c authored by Radko Krkoš's avatar Radko Krkoš Committed by Pavel Kácha
Browse files

Server: Fix requestor e-mail validation


* No longer silently accept pattern 'a@b@c', otherwise stay compatibile.
* Valid patterns are: 'user@fqdn', '<user@fqdn>', 'user <user@fqdn>',
  'user surname <user@fqdn>', no Unicode support, multiple e-mails
  separated by comma are allowed.
* Replace email.utils.parseaddr() with extended regular expression.
* Remove import email.utils as no other users exist.

Signed-off-by: default avatarPavel Kácha <ph@cesnet.cz>
parent 736be875
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment