diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2019-10-08 07:25:27 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2019-10-08 07:25:27 +0200 |
commit | 6d050e13e9dbbeffdb45fc1c5b977b996d310981 (patch) | |
tree | b201bc97ea832ce0c43f144ef7229f52e42bbf23 /plugins/common/WebAuthenticationPane.vala | |
parent | 10ce63378912ef63c8882889f02ed4dff0416f32 (diff) | |
parent | d84f449fcb5ea05fcbb9eee098b7438aa332ad31 (diff) |
Merge branch 'release/debian/0.30.7-1'debian/0.30.7-1
Diffstat (limited to 'plugins/common/WebAuthenticationPane.vala')
-rw-r--r-- | plugins/common/WebAuthenticationPane.vala | 5 |
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; |