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
- Branch
- error-codes
- Lint
No Lint Coverage - Unit
No Test Coverage - Build Status
Buildable 28954 Build 10468: arc lint + arc unit
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.