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

NotTheEvilOne 1332922 at bugs.launchpad.net
Sun Jun 22 10:05:27 CEST 2014


Public bug reported:

Hi,

the following test case resulted in: HTTP/1.0 500 Internal Server Error

Username: MyTest
e-mail: MyTest at domain.invalid

1. Create user
curl -v -H "Accept: application/json" -H "Content-type: application/x-www-form-urlencoded" -X POST -d 'email=MyTest at domain.invalid&display_name=MyTest at domain.invalid' http://localhost:8001/3.0/users

-> 201 Created
DB address contains email "mytest at domain.invalid" and _original "MyTest at 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 at 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 at domain.invalid' http://localhost:8001/3.0/members

** Affects: mailman
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.
https://bugs.launchpad.net/bugs/1332922

Title:
  Mailman 3.0 REST API does not support e-mails with uppercase letters

To manage notifications about this bug go to:
https://bugs.launchpad.net/mailman/+bug/1332922/+subscriptions


More information about the Mailman-coders mailing list