From 9df7d92887825cc7d55eba8a2104d4c87d1bd30c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jaakko=20Kera=CC=88nen?= jaakko.keranen@iki.fi
Date: Fri, 6 May 2022 12:46:07 +0300
Subject: [PATCH 1/1] Spartan: Handling empty path in request
src/gmrequest.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gmrequest.c b/src/gmrequest.c
index 70b33243..a4630e89 100644
--- a/src/gmrequest.c
+++ b/src/gmrequest.c
@@ -621,7 +621,7 @@ static void beginSpartanConnection_GmRequest_(iGmRequest *d, const iString *host
printf_Block(message,
"%s %s %zu\r\n",
cstr_Rangecc(url.host),
cstr_Rangecc(url.path),
!isEmpty_Range(&url.path) ? cstr_Rangecc(url.path) : "/",
size_Block(data));
write_Socket(d->spartan, message);
write_Socket(d->spartan, data);
--
2.25.1
text/plain
This content has been proxied by September (3851b).