On 9/29/20 4:54 AM, Brian Carpenter wrote:
On 9/29/20 12:40 AM, Mark Sapiro wrote:
Is that all it said? The code says it is
The user could not be removed: <error message>
Where <error message> is the relevant HTTP error.
It says:
The user could not be removed:
Nothing comes after the colon.
I see the issue. when mailmanclient processes the delete request from
Postorius it calls the REST API DELETE method with the URL
lists/<listname>/<role>/<address> and the address is quoted
with
urllib.parse.quote_plus, co in this case, the URL becomes
lists/<listname>/nonmember/z_email%2Fdomain.org.za@domain.org.za
This is all fine except the REST API doesn't call urllib.parse.unquote_plus to change the %2F back to slash. This is now reported at <https://gitlab.com/mailman/mailman/-/issues/774>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan