From 18c93e22e9c5b3aa9e4e3f877642108a5cc76408 Mon Sep 17 00:00:00 2001
From: swee
Date: Mon, 13 Jan 2025 22:05:33 -0800
Subject: [PATCH] Update server.py
---
server.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server.py b/server.py
index 1cd2281..7d77e95 100644
--- a/server.py
+++ b/server.py
@@ -74,7 +74,7 @@ def relay():
if firstline:
if i.split(" ")[0][0] == "3":
if i.split(" ")[1][0] == "/":
- return redirect("/gem?gemini=" + urlparse(fulladdr).hostname + quote(i.split(" ")[1]), safe='')
+ return redirect("/gem?gemini=" + urlparse(fulladdr).hostname + quote(i.split(" ")[1], safe=''))
return redirect("/gem?gemini=" + quote(i.split(" ")[1][9:], safe=''))
elif i.split(" ")[0][0] == "1":
return f'\nInput requiredInput required
The specified Gemini server wants more data:
{i}
'