Fix #336: Lync autodiscover does not follow user redirect
commit7aa0d2eb53d622864c15f7c24c43e4b507657827
authorStefan Becker <chemobejk@gmail.com>
Tue, 14 Nov 2017 13:21:52 +0000 (14 15:21 +0200)
committerStefan Becker <chemobejk@gmail.com>
Tue, 14 Nov 2017 13:21:52 +0000 (14 15:21 +0200)
tree5327db142bb37fddb4cedf84b8e8bd1f4ff70001
parentc428cec7e9c0e14801ac6e8ecc6405ad6850b6ee
Fix #336: Lync autodiscover does not follow user redirect

It seems that the User response does not always point directly to the
users home server, but instead contains another "Redirect" token. Add
support to follow such redirects.

This requires that the code only does the final parse of an User
response when nothing else matched in the parser.
src/core/sipe-lync-autodiscover.c