summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ui/documentwidget.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c
index 975a5568..589b9e56 100644
--- a/src/ui/documentwidget.c
+++ b/src/ui/documentwidget.c
@@ -1876,6 +1876,11 @@ static void checkResponse_DocumentWidget_(iDocumentWidget *d) {
1876 if (d->state == fetching_RequestState) { 1876 if (d->state == fetching_RequestState) {
1877 d->state = receivedPartialResponse_RequestState; 1877 d->state = receivedPartialResponse_RequestState;
1878 updateTrust_DocumentWidget_(d, resp); 1878 updateTrust_DocumentWidget_(d, resp);
1879 if (~d->certFlags & trusted_GmCertFlag &&
1880 isSuccess_GmStatusCode(statusCode) &&
1881 equalCase_Rangecc(urlScheme_String(d->mod.url), "gemini")) {
1882 statusCode = tlsServerCertificateNotVerified_GmStatusCode;
1883 }
1879 init_Anim(&d->sideOpacity, 0); 1884 init_Anim(&d->sideOpacity, 0);
1880 init_Anim(&d->altTextOpacity, 0); 1885 init_Anim(&d->altTextOpacity, 0);
1881 format_String(&d->sourceHeader, 1886 format_String(&d->sourceHeader,