iCalendar Sync generates HTTP link sent to HTTPS port, resulting in 400 Bad Request
OS: Fedora 34, Gnome-calendar version: 40.1
Updated gnome-calendar to version 40.2 and checked still the same issue.
I wanted to add iCalendar to the gnome-calendar via CalDAV.
I logged onto Apple account, requested an password in order to use it to login to non-Apple software.
I opened gnome-calendar -> manage calendars -> add calendar -> import calendar
Then I typed: https://caldav.icloud.com and used my AppleID to log-in aswell as the previously generated password. The whole procedure worked allowing me to click "Add" on the blue box in the right upper corner.
When I click synchronize calendars then the added calendar correctly detects my 3 calendars that I have on my Apple account, but do not download their data. I suspect it's because the program creates the http: links instead of https: (which Apple rejects) in order to download data from calDAV servers.
When I click on the added iCalendar then I can see the generated link in the Location tab:
which is a http:// and not a https:
When I try to manually open it this is the output:
400 Bad Request
The plain HTTP request was sent to HTTPS port