Bug 435232 - KOrganizer automatically add slash (/) in the final of the URL and don't import correctly
Summary: KOrganizer automatically add slash (/) in the final of the URL and don't impo...
Alias: None
Product: korganizer
Classification: Applications
Component: import/export (show other bugs)
Version: 5.16.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
: 421443 (view as bug list)
Depends on:
Reported: 2021-04-01 20:14 UTC by Denys Madureira
Modified: 2024-06-26 15:26 UTC (History)
11 users (show)

See Also:
Latest Commit:
Version Fixed In:

GIF preview of the bug (384.82 KB, image/gif)
2021-04-01 20:14 UTC, Denys Madureira
Video of the bug (1.74 MB, video/mp4)
2021-04-01 20:16 UTC, Denys Madureira

Note You need to log in before you can comment on or make changes to this bug.
Description Denys Madureira 2021-04-01 20:14:35 UTC
Created attachment 137249 [details]
GIF preview of the bug

When adding a calendar from Zoho Calendar (https://calendar.zoho.com/) the URL should be:
But it add:
This result in a empty .ics file, so the KOrganizer don't import events.
When add the URL without the final slash in other resources (like Thunderbird), the calendar import without any problem.
When we tries to add a URL without a end slash, the KOrganizer AUTOMATICALLY ADD A SLASH IN THE FINAL, so, because of that, we cannot import calendars from Zoho.

1. Add new DAV calendar account in the KOrganizer
2. Add your user and password
3. Add the URL without final slash in the configuration of a new server and you will see that the KOrganizer will automatically add a slash in the final. That way the KOrganizer will receive a empty calendar and wont work.

KOrganizer not import events because it automatically add a slash in the final of the URL

Not add a slash in the final of URL and import correctly the events of the calendar

Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2

Comment 1 Denys Madureira 2021-04-01 20:16:21 UTC
Created attachment 137250 [details]
Video of the bug

Added a video showing the bug and how the URL with slash (/) in the final download a empty .ics
Comment 2 Nate Graham 2021-04-06 14:36:46 UTC
Seems like a simple fix for someone familir with the source code.
Comment 3 Denys Madureira 2021-08-16 18:25:09 UTC
Any update?
I'd to sync my Zoho Calendar with Google Calendar and sync Google Calendar with Akonadi to KOrganizer show my events.
But, this don't have to be the solution.
Comment 4 Justin Zobel 2021-08-28 12:52:11 UTC
Also affected.
Comment 5 Carl Schwan 2021-08-29 13:41:53 UTC
This is really weird: for me https://calendar.zoho.eu/caldav/xxxxxxxxxxxxxxxxxxxxxxx/events gives me 404 error but https://calendar.zoho.eu/caldav/xxxxxxxxxxxxxxxxxxxxx/events/ gives me a 0 bytes ics file.

Removing the automatically added / at the end of the url gives me an error: 

There was a problem with the request.
HTTP error (0).

So I wonder if the problem is really the /
Comment 6 Denys Madureira 2021-08-29 16:56:54 UTC
The problem is really the /
If you tries to access the URL without the final / in a browser, for example, it will give an error because of the authentication (because you will not send your credentials).

You can synchronize your calendar with Thunderbird and Evolution without the final / and with yours credentials to see. It will synchronize without problem.
Comment 7 Allen Winter 2021-09-18 20:06:08 UTC
https://calendar.zoho.com/ by itself works for me.
Comment 8 Denys Madureira 2021-09-19 00:13:43 UTC
(In reply to Allen Winter from comment #7)
> https://calendar.zoho.com/ by itself works for me.

Hi, Allen. Are you sure about that?
For me still doesn't works. The only thing that works (and always worked) is: if we sync the account like this (if this URL), we can create events and the events appears in the Zoho Calendar website, but if we create any event on the website doesn't show in KOrganizer. Is like a "one-way sync". We cannot view any old or new created events from Zoho Calendar in KOrganizer, but we can view in the website the events created from KOrganizer.
Comment 9 Allen Winter 2021-09-19 13:42:17 UTC
you're right.
events created on zoho web interface do not show up in Korganizer.
Comment 10 Carl Schwan 2021-11-03 11:28:31 UTC
*** Bug 421443 has been marked as a duplicate of this bug. ***
Comment 11 Carl Schwan 2021-11-03 11:33:38 UTC
Did a bit of investigation yesterday night, and using https://calendar.zoho.com/caldav/{ID} instead of https://calendar.zoho.com/caldav/{ID}/events/ makes it possible for Korganizer/Kalendar to correctly detect the dav collections. Events are still not displayed for me, I will investigate further tonight.
Comment 12 Juan 2023-05-17 06:58:38 UTC
Still active

Operating System: Kubuntu 23.04
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 6.2.0-20-generic (64-bit)
Graphics Platform: X11
Processors: 12 × Intel® Core™ i7-8750H CPU @ 2.20GHz
Memory: 31.2 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2
Manufacturer: SchenkerTechnologiesGmbH
Product Name: XMG Mobile A507 VE
System Version: Not Applicable
Comment 13 Ross 2024-06-26 15:26:08 UTC
Still active Kontact 6.1.1