[evolution-data-server/gnome-3-22] Bug 776152 - Cannot search for WebDAV/CalDAV sources
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/gnome-3-22] Bug 776152 - Cannot search for WebDAV/CalDAV sources
- Date: Fri, 16 Dec 2016 08:52:54 +0000 (UTC)
commit de6e380401cb6e0eb748464ad361e648c4753a0d
Author: Milan Crha <mcrha redhat com>
Date: Fri Dec 16 09:46:35 2016 +0100
Bug 776152 - Cannot search for WebDAV/CalDAV sources
libedataserverui/e-webdav-discover-widget.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/libedataserverui/e-webdav-discover-widget.c b/libedataserverui/e-webdav-discover-widget.c
index d1abf68..0aab6bc 100644
--- a/libedataserverui/e-webdav-discover-widget.c
+++ b/libedataserverui/e-webdav-discover-widget.c
@@ -722,7 +722,9 @@ e_webdav_discover_content_refresh_done_cb (GObject *source_object,
NULL, FALSE, rd->cancellable, e_webdav_discover_content_trust_prompt_done_cb,
rd);
rd = NULL;
} else if (g_cancellable_is_cancelled (rd->cancellable) ||
- !g_error_matches (local_error, G_IO_ERROR, G_IO_ERROR_PERMISSION_DENIED)) {
+ (!g_error_matches (local_error, G_IO_ERROR, G_IO_ERROR_PERMISSION_DENIED) &&
+ !g_error_matches (local_error, SOUP_HTTP_ERROR, SOUP_STATUS_UNAUTHORIZED) &&
+ !g_error_matches (local_error, SOUP_HTTP_ERROR, SOUP_STATUS_FORBIDDEN))) {
g_simple_async_result_take_error (rd->simple, local_error);
local_error = NULL;
g_simple_async_result_complete (rd->simple);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]