summaryrefslogtreecommitdiff
path: root/src/gmutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gmutil.c')
-rw-r--r--src/gmutil.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gmutil.c b/src/gmutil.c
index 9188091d..e862b18a 100644
--- a/src/gmutil.c
+++ b/src/gmutil.c
@@ -341,10 +341,6 @@ void urlEncodePath_String(iString *d) {
341 return; 341 return;
342 } 342 }
343 if (isEmpty_Range(&url.path)) { 343 if (isEmpty_Range(&url.path)) {
344 if (equalCase_Rangecc(url.scheme, "gemini") && url.path.start) {
345 /* Normalize to "/" as per specification (November 2021 update). */
346 insertData_Block(&d->chars, url.path.start - constBegin_String(d), "/", 1);
347 }
348 return; 344 return;
349 } 345 }
350 iString *encoded = new_String(); 346 iString *encoded = new_String();