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]>
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]> I don't know the code, but it's probably an encoding issue. Can you
On 08/02/2018 08:47 PM, Kaleb White wrote: provide the equivalent log entries of Core? And maybe also what exact value is written to the database? I guess you can open an issue about that over at https://gitlab.com/mailman/mailman/issues
Simon
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
participants (3)
-
Kaleb White
-
Mark Sapiro
-
Simon Hanna