$NetBSD: patch-ae,v 1.4 2002/05/04 17:06:49 fredb Exp $

--- WWW/Library/Implementation/HTParse.c.orig	Sun Apr  1 19:51:46 2001
+++ WWW/Library/Implementation/HTParse.c
@@ -291,7 +291,7 @@
 		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.
