Date: Sat, 9 Nov 2002 23:10:02 -0800 (PST) From: "Dan Langille" <dan@langille.org> To: freebsd-www@FreeBSD.org Subject: Re: www/45184: hyperlinks in mail archives don't deal with all special html characters properly Message-ID: <200211100710.gAA7A2pF093080@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR www/45184; it has been noted by GNATS. From: "Dan Langille" <dan@langille.org> To: freebsd-gnats-submit@FreeBSD.org Cc: Subject: Re: www/45184: hyperlinks in mail archives don't deal with all special html characters properly Date: Sun, 10 Nov 2002 02:09:56 -0500 The problem is on line 229 : $text =~ s/(http|https|ftp|gopher|mailto|news|file)(:[^\s]*?\/?)(\W?\s)/<a href="$1$2">$1$2<\/a>$3/goi; It's the (\W?\s) which needs to change. It does not recognize that ">" should terminate the URL. -- Dan Langille : http://www.langille.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-www" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211100710.gAA7A2pF093080>