summaryrefslogtreecommitdiff
path: root/plugins/common/WebAuthenticationPane.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2019-10-03 15:22:21 +0200
committerJörg Frings-Fürst <debian@jff.email>2019-10-03 15:22:21 +0200
commit5204e98502aa1d0dc4a05c5d3f15b7c39c8d832c (patch)
treecf732995c187d192ce8eab868c5f60cd0982184e /plugins/common/WebAuthenticationPane.vala
parent4b884ce062be787b9e64836146133a1066b679e3 (diff)
parentde88de73ad9d13cc2a54668aa4bc6523c196ffa9 (diff)
Update upstream source from tag 'upstream/0.30.7'
Update to upstream version '0.30.7' with Debian dir 9549ff4a34004ef1e2ea60b54b2fb65fe1ddf75e
Diffstat (limited to 'plugins/common/WebAuthenticationPane.vala')
-rw-r--r--plugins/common/WebAuthenticationPane.vala5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/common/WebAuthenticationPane.vala b/plugins/common/WebAuthenticationPane.vala
index 1704780..43afe65 100644
--- a/plugins/common/WebAuthenticationPane.vala
+++ b/plugins/common/WebAuthenticationPane.vala
@@ -43,6 +43,11 @@ namespace Shotwell.Plugins.Common {
}
private bool on_page_load_failed (WebKit.LoadEvent load_event, string uri, Error error) {
+ // OAuth call-back scheme. Produces a load error because it is not HTTP(S)
+ // Do not set the load_error, but continue the error handling
+ if (uri.has_prefix ("shotwell-auth://"))
+ return false;
+
critical ("Failed to load uri %s: %s", uri, error.message);
this.load_error = error;