From 804d9bd93fbde602f571ab46342acf18bd5a3e95 Mon Sep 17 00:00:00 2001

From: =?UTF-8?q?Jaakko=20Kera=CC=88nen?= jaakko.keranen@iki.fi

Date: Sat, 13 Nov 2021 07:36:43 +0200

Subject: [PATCH 1/1] DocumentWidget: Trust button shown only when untrusted


src/ui/documentwidget.c | 3 ++-

1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c

index 49ac9fb5..f2553632 100644

--- a/src/ui/documentwidget.c

+++ b/src/ui/documentwidget.c

@@ -2845,7 +2845,8 @@ static iBool handleCommand_DocumentWidget_(iDocumentWidget *d, const char *cmd)

     const iBool haveFingerprint = (d->certFlags & haveFingerprint_GmCertFlag) != 0;

     const int requiredForTrust = (available_GmCertFlag | haveFingerprint_GmCertFlag |

                                   timeVerified_GmCertFlag);

     const iRecentUrl *recent = findUrl_History(d->mod.history, d->mod.url);

     const iString *meta = &d->sourceMime;

     if (recent && recent->cachedResponse) {

--

2.25.1

Proxy Information
Original URL
gemini://git.skyjake.fi/lagrange/dev/patch/804d9bd93fbde602f571ab46342acf18bd5a3e95.patch
Status Code
Success (20)
Meta
text/plain
Capsule Response Time
171.114064 milliseconds
Gemini-to-HTML Time
0.478347 milliseconds

This content has been proxied by September (ba2dc).