[Mailman-Users] Patch against mm2.1 which adds sync_members functionality to the GUI

Mark Sapiro mark at msapiro.net
Tue Sep 17 21:03:46 EDT 2019


On 8/20/19 11:25 AM, Mark Sapiro wrote:
> On 8/20/19 1:43 AM, Ralf Hildebrandt wrote:
>> attached are two patches against mm2.1 which add sync_members
>> functionality to the GUI
> 
> 
> I found some issues with this patch.
> 
> - Entries which are already members are reported as added.
> - Entries with display names or mixed case addresses are not
>   recognized as current members.
> 
> I have attached a modified patch which seems better but needs more testing.


More testing revealed another issue. If all or part of the sync list is
entered in the text box with a display name containing non-ascii, the
browser may encode those characters as numeric HTML entities which
thoroughly confused email.Utils.parseaddr().

A revised patch that addresses this and makes a few cosmetic changes is
attached.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mass_sync.patch
Type: text/x-patch
Size: 7251 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/mailman-users/attachments/20190917/9ef8802b/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/mailman-users/attachments/20190917/9ef8802b/attachment-0001.sig>


More information about the Mailman-Users mailing list