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

Bug #1332922 reported by NotTheEvilOne
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
New
Undecided
Unassigned

Bug Description

Hi,

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

Username: MyTest
e-mail: <email address hidden>

1. Create user
curl -v -H "Accept: application/json" -H "Content-type: application/x-www-form-urlencoded" -X POST -d '<email address hidden>&<email address hidden>' http://localhost:8001/3.0/users

-> 201 Created
DB address contains email "<email address hidden>" and _original "<email address hidden>"

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&<email address hidden>' 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&<email address hidden>' http://localhost:8001/3.0/members

Tags: mailman3
Barry Warsaw (barry)
tags: added: mail
tags: added: mailman3
removed: mail
Revision history for this message
Abhilash Raj (raj-abhilash1) wrote :

This bug has been moved to the new gitlab repo here: https://gitlab.com/mailman/mailman/issues/77

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.