From 26897f89a2c50c7701b5e2e02ec4c5223216a89d Mon Sep 17 00:00:00 2001 From: Michael Catanzaro Date: Thu, 2 Apr 2020 15:30:35 +0000 Subject: [PATCH] Revert "new-calendar-page: add support for webcal:// links" This reverts commit 8520e1819cdeb57f4d2cf5f5bda94f25d84e91c3 --- src/gui/calendar-management/gcal-new-calendar-page.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/gui/calendar-management/gcal-new-calendar-page.c b/src/gui/calendar-management/gcal-new-calendar-page.c index da5656ff..ee784fff 100644 --- a/src/gui/calendar-management/gcal-new-calendar-page.c +++ b/src/gui/calendar-management/gcal-new-calendar-page.c @@ -356,16 +356,6 @@ validate_url_cb (gpointer data) if (uri != NULL && SOUP_URI_IS_VALID (uri)) { - /* "Support" webcal:// links by converting them to https://. This works - * because WebDAV is an extension of HTTP, so we can treat it as normal - * HTTP. - * - * Note we don't allow hidden use of http://, since we want to protect the - * user from accidentally leaking calendars in the clear. Only https://. - */ - if (strcmp (uri->scheme, "webcal") == 0) - soup_uri_set_scheme (uri, SOUP_URI_SCHEME_HTTPS); - discover_sources (self); } else