From b61d11ad95b13154fe0d8f28cdced09254ccf7e5 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sun, 30 Aug 2020 08:13:11 +0300 Subject: DocumentWidget: Check for non-Gemini redirects --- src/gmutil.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gmutil.c') diff --git a/src/gmutil.c b/src/gmutil.c index 07bf3016..41f0dd20 100644 --- a/src/gmutil.c +++ b/src/gmutil.c @@ -227,6 +227,11 @@ static const struct { "Invalid Redirect", "The server responded with a redirect but did not provide a valid destination URL. " "Perhaps the server is malfunctioning." } }, + { nonGeminiRedirect_GmStatusCode, + { 0x27a0, /* dashed arrow */ + "Redirect to Non-Gemini URL", + "The server attempted to redirect us to a non-Gemini URL. Here is the link so you " + "can open it manually if appropriate."} }, { temporaryFailure_GmStatusCode, { 0x1f50c, /* electric plug */ "Temporary Failure", -- cgit v1.2.3