diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-30 08:13:11 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-30 08:13:11 +0300 |
commit | b61d11ad95b13154fe0d8f28cdced09254ccf7e5 (patch) | |
tree | c44aa6fa2bdf7f8e5e8050f57c3e63c4742e135f /src/gmutil.c | |
parent | e023c5c7823db3b4d853bc939b76d88001a51dc4 (diff) |
DocumentWidget: Check for non-Gemini redirects
Diffstat (limited to 'src/gmutil.c')
-rw-r--r-- | src/gmutil.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 { | |||
227 | "Invalid Redirect", | 227 | "Invalid Redirect", |
228 | "The server responded with a redirect but did not provide a valid destination URL. " | 228 | "The server responded with a redirect but did not provide a valid destination URL. " |
229 | "Perhaps the server is malfunctioning." } }, | 229 | "Perhaps the server is malfunctioning." } }, |
230 | { nonGeminiRedirect_GmStatusCode, | ||
231 | { 0x27a0, /* dashed arrow */ | ||
232 | "Redirect to Non-Gemini URL", | ||
233 | "The server attempted to redirect us to a non-Gemini URL. Here is the link so you " | ||
234 | "can open it manually if appropriate."} }, | ||
230 | { temporaryFailure_GmStatusCode, | 235 | { temporaryFailure_GmStatusCode, |
231 | { 0x1f50c, /* electric plug */ | 236 | { 0x1f50c, /* electric plug */ |
232 | "Temporary Failure", | 237 | "Temporary Failure", |