Closed sriccio closed 2 years ago
I have addressed this in a branch and the fix will be included in the next release. Instead of string matching, I decided to use a regular expression to verify if the incoming request has a "valid" content type.
Regarding your question about possible changed behaviour in Thunderbird, I'd have to test it first. It would be an interesting decision to make for Mozilla.
I'll close this pull request, but feel free to add comments if you like.
Some clients (eg. Thunderbird 91.x) specifies charset in Content-Type header.
Therefore the request is rejected by automx2 because it doesn't EXACTLY matches.
Exemple POST from Thunderbird 91 sniffed with fiddler.
Result in automx2log:
Seems fine when using startswith.
PS: Yes, Thunderbird seems now to use autodiscover and it looks like it is checked BEFORE attempting their "legacy" autoconfig stuff... Can you confirm this ?