[Bug 1332922] [NEW] Mailman 3.0 REST API does not support e-mails with uppercase letters

Public bug reported:
Hi,
the following test case resulted in: HTTP/1.0 500 Internal Server Error
Username: MyTest e-mail: MyTest@domain.invalid
1. Create user curl -v -H "Accept: application/json" -H "Content-type: application/x-www-form-urlencoded" -X POST -d 'email=MyTest@domain.invalid&display_name=MyTest@domain.invalid' http://localhost:8001/3.0/users
-> 201 Created DB address contains email "mytest@domain.invalid" and _original "MyTest@domain.invalid"
curl -v -H "Accept: application/json" -H "Content-type: application/x -www-form-urlencoded" -X POST -d 'list_id=some_list.domain.invalid&role=member&subscriber=MyTest@domain.invalid' http://localhost:8001/3.0/members
-> 500 Internal Server Error No log file contain any exception or error message
Workaround available: Using lower-case letters result in a success curl -v -H "Accept: application/json" -H "Content-type: application/x-www-form-urlencoded" -X POST -d 'list_id=some_list.domain.invalid&role=member&subscriber=mymest@domain.invalid' http://localhost:8001/3.0/members
** Affects: mailman Importance: Undecided Status: New

** Tags added: mail
** Tags removed: mail ** Tags added: mailman3

This bug has been moved to the new gitlab repo here: https://gitlab.com/mailman/mailman/issues/77
participants (3)
-
Abhilash Raj
-
Barry Warsaw
-
NotTheEvilOne