David-Development / Task-Sync

5 stars 0 forks source link

URL is mangled when adding calendars #41

Open ghost opened 8 years ago

ghost commented 8 years ago

Running TaskSync 0.5.0, connecting to owncloud 9.0.2.

I connect to my owncloud via an ssh tunnel, so my URL is of the format:

http://127.0.0.1:51358/owncloud

TaskSync correctly retrieves the list of calendars. However after I select the appropriate calendars, TaskSync displays each for sign-on with a bad URL. For example:

http://127.0.0.1/owncloud/remote.php/caldav/calendars/user/todo/

The specified port has been dropped, and 'caldav' is added instead of 'dav' (owncloud 9.0.2). Correcting the URL to:

http://127.0.0.1:51358/owncloud/remote.php/dav/calendars/user/todo/

permits successful login. This has to be repeated for each calendar that was selected.

On the server, the '.htaccess' contains:

Redirect 301 /.well-known/carddav /owncloud/remote.php/dav Redirect 301 /.well-known/caldav /owncloud/remote.php/dav

As specified in the owncloud 9.0 documentation:

https://doc.owncloud.org/server/9.0/admin_manual/issues/general_troubleshooting.html?highlight=htaccess#troubleshooting-webdav

David-Development commented 8 years ago

Thank you very much for the detailed report! I'm very busy lately but I'll definitely look into it as soon as possible!