Nextcloud News: Connection error when trailing slash is missed while adding server
Describe the bug When connecting to Nextcloud News as source and the cloud domain is provided without trailing slash (e.g. https://cloud.domain.com), the connection cannot be established.
To Reproduce Steps to reproduce the behavior:
- Add a server of type Nextcloud News API
- Provide a URL without trailing slash, e.h. https://cloud.domain.com
Expected behavior Would be great when the trailing slash is not important when adding a Nextcloud News API server. The specific News API endpoint (https://cloud.domain.com/index.php/apps/news/api/v1-3) is also recognized by the program itself without the user has to provide a deep link.
Screenshots
German, it says: Error while connecting to the server. Please check the server configuration or your network status.
Platform (please complete the following information):
- OS: Win 11
- Version 1.1.3
Confirmed same issue on linux, git version.
other clients work without slash
thanks for this post I did not figure out why it was broken without you
Fix implemented in #620