Fix #259: HTML response to EWS autodiscover triggers libxml2 assert
commit717286c31d5581d9b2b1661978bb3b0d5b20d857
authorStefan Becker <chemobejk@gmail.com>
Thu, 10 Jul 2014 16:16:00 +0000 (10 19:16 +0300)
committerStefan Becker <chemobejk@gmail.com>
Sat, 16 Aug 2014 11:11:11 +0000 (16 14:11 +0300)
tree67982dafb165e8226f74b2a97b720edfe7e4c894
parentacd8338423274c01d91c0199a1d62557b90036fc
Fix #259: HTML response to EWS autodiscover triggers libxml2 assert

Add "Accept: text/xml" header to EWS POST request to reject all other
content types in response.

(cherry picked from commit 1bb58b5b481ba39992c40ed3cef9e93bfd8e4a3b)
src/core/sipe-ews-autodiscover.c