about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation
diff options
context:
space:
mode:
Diffstat (limited to 'WWW/Library/Implementation')
-rw-r--r--WWW/Library/Implementation/HTParse.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/WWW/Library/Implementation/HTParse.c b/WWW/Library/Implementation/HTParse.c
index 99dd5835..170a640d 100644
--- a/WWW/Library/Implementation/HTParse.c
+++ b/WWW/Library/Implementation/HTParse.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: HTParse.c,v 1.95 2021/07/08 22:54:00 tom Exp $
+ * $LynxId: HTParse.c,v 1.96 2021/07/26 19:52:58 tom Exp $
  *
  *		Parse HyperText Document Address		HTParse.c
  *		================================
@@ -689,6 +689,11 @@ char *HTParse(const char *aName,
 	    } else {
 		HTSimplify(base, TRUE);
 	    }
+	    if (base[0] == '/' && base[1] == '/') {
+		char *pz;
+
+		for (pz = base; (pz[0] = pz[1]) != '\0'; ++pz) ;
+	    }
 	    CTRACE((tfp, "HTParse: (Related-ABS)\n"));
 	} else if (given.relative) {
 	    strcpy(tail, given.relative);	/* what we've got */