-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unisender GO raises AnymailWebhookValidationFailure on some webhook events #398
Comments
I've managed to track down the underlying problem. It affects any Unisender Go webhook payload that includes a
The problem is that Unisender Go's JSON serialization (unnecessarily) backslash-escapes forward slashes: {"url":"https:\/\/example.com\/"} And Python's does not, meaning the md5 hashes don't match. The proposed solution in your PR does solve the problem. While updating the tests, I uncovered several other issues in Anymail's current Unisender Go webhook implementation (and several missing test cases). So I'm going to open a new PR that pretty much rewrites that webhook and its tests. |
Reporting an error? It's helpful to know:
SENT
,DELIVERED
fine, butOPENED
,CLICKED
raises exceptionThe text was updated successfully, but these errors were encountered: