Revert "Force-normalize user emails for list unsubscribe."
authorNicolas Iooss <nicolas.iooss_git@polytechnique.org>
Fri, 11 Apr 2014 21:24:58 +0000 (23:24 +0200)
committerNicolas Iooss <nicolas.iooss_git@polytechnique.org>
Fri, 11 Apr 2014 21:38:20 +0000 (23:38 +0200)
commit60781c8fdd17c0c6b79276ecb77d4c0e21666342
treecedfaa33c6902295e3397c2bf2088754313c2498
parent29315ae07d98f098e569248b5e25c04c74f51201
Revert "Force-normalize user emails for list unsubscribe."

This reverts commit 84d77e72a59ce20615794ad9154e71339014da84 but keeps bug fix
from commit b32a94b8b784a4ab4d4d2af47974b6ab0659a78f.

Some external subscribers don't have an user account and hence needs to be
able to unsubscribe to mailing list using their email address only.

[Security]
Env::v('del_member') is directly transmitted (through RPC) as the "user" param
of "mlist.ApprovedDeleteMember(user)" (bin/lists.rpc.py function mass_unsubscribe line 491).
Hence it relies on mailman to correctly handle this user-controlled input.
This is why the content of "del_member" is not checked to be ASCII-only nor
escaped. Mailman is supposed to take this value "as is".

Conflicts:
modules/lists.php
modules/lists.php