Send correct error messages depending on the type of autodiscover method. Microsoft == XML Error Message, JSON == json formatted error message. Sending a generic error 500 is harder to debug in the end.
Details
Details
- Reviewers
machniak mollekopf - Group Reviewers
Autoconf Developers - Commits
- rACc526e21729a7: reformat error messages
Diff Detail
Diff Detail
- Repository
- rAC autoconf
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
lib/AutodiscoverJson.php | ||
---|---|---|
124 | I guess it should be ErrorCode. |
Comment Actions
You're right. I've fixed the typo and replaced the msxml errorcode with one that a real exchange server sends outs. Just in case something weird could happing.