Steps to reproduce:
- in the Wiki Admin, section Annotations, set "Display annotations by default" to yes
- view the search page, i.e. by trigerring the seach
The UI shows at the bottom the the page a "Loading Annotations ..." status followed by an error message: "Failed: Wrongly formatted server response".
The error message seems to be caused by querying:
which then redirects to:
The latter returns an HTML-page and not the expected JSON.