$NetBSD: patch-ae,v 1.2 2004/03/03 14:01:00 adam Exp $

--- WWW/Library/Implementation/HTParse.c.orig	2004-02-02 20:02:28.000000000 +0000
+++ WWW/Library/Implementation/HTParse.c
@@ -329,7 +329,7 @@ PUBLIC char * HTParse ARGS3(
 		char *p2, *h;
 		if ((p2 = strchr(result, '@')) != NULL)
 		   tail = (p2 + 1);
-		p2 = strchr(tail, ':');
+		p2 = strrchr(tail, ':');
 		if (p2 != NULL && !isdigit(UCH(p2[1])))
 		    /*
 		    **	Colon not followed by a port number.
