On 08/02/2018 11:47 AM, Kaleb White wrote:
I am trying to remove a banned email with a special character via the rest api and it's not working. It's also not working via the UI. Any ideas? http://localhost:8001/3.0/lists/example.com/bans/provisor#41@bankofamerica.c... <Response [404]>
You can't do it from Postorius (This should be considered a bug in Postorius or perhaps mailman-client).
You can do it via rest if you URL encode the request as
http://localhost:8001/3.0/lists/example.com/bans/provisor%2341@bankofamerica...
The issue is whatever client is making the HTTP request is considering '#41@bankofamerica.com' to be a fragment identifier so it issues the request for the resource '3.0/lists/example.com/bans/provisor' and expects to find sub-resource identified by '41@bankofamerica.com' in the response.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan