I’m new to Nextcloud and currently evaluating it.
My version is 16.0.4 and the calendar app is 1.7.0.
In the calendar app, I’m trying to subscribe to external calendars, where access requires username and password, such as the Horde calendar or a DAViCal calendar.
Therefore, the URL has the structure
The subscribed calendar shows up with an exclamation mark, but the entries do not show up. Hovering over the exclamation mark says
Some events in this calendar are broken. Please check the JS console for more info.
The console of Firefox only says:
Edge is more specific and tells that it got an HTTP status of 401.
So, I digged somewhat deeper:
- I find the whole URL including the password in the database (table
- The passwort-part of the URL is lost, when the
public function proxy($url)in file
apps/calendar/controller/proxycontroller.phpis called. The username is still in the URL.
I checks this by inserting a debug message in the mentioned function.
The password is stripped of somewhere between the database and the actual use of the URL.
What can I do about this?
Is there any configuration parameter to prevent the strip-off of the password?
Subscribing to external calendars is every important to us. And they are all protected by passwords.
Thanks for any advice