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 e59e6649..ecfe2128 100644
--- a/src/gmutil.c
+++ b/src/gmutil.c
@@ -325,10 +325,6 @@ void urlEncodePath_String(iString *d) {
325 return; 325 return;
326 } 326 }
327 if (isEmpty_Range(&url.path)) { 327 if (isEmpty_Range(&url.path)) {
328 if (equalCase_Rangecc(url.scheme, "gemini") && url.path.start) {
329 /* Normalize to "/" as per specification (November 2021 update). */
330 insertData_Block(&d->chars, url.path.start - constBegin_String(d), "/", 1);
331 }
332 return; 328 return;
333 } 329 }
334 iString *encoded = new_String(); 330 iString *encoded = new_String();