From 77c9d7e800351211f79b0f439b21862de7e05294 Mon Sep 17 00:00:00 2001 From: "terry%mozilla.org" <> Date: Sat, 11 Mar 2000 00:52:37 +0000 Subject: Never let ", <, or > be matched as part of a URL. --- bug_form.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bug_form.pl') diff --git a/bug_form.pl b/bug_form.pl index 4ca7f43c5..bac65d14c 100644 --- a/bug_form.pl +++ b/bug_form.pl @@ -71,7 +71,7 @@ sub quoteUrls { my @things; while ($text =~ s%((mailto:)?([\w\.\-\+\=]+\@[\w\-]+(?:\.[\w\-]+)+)\b| - (\b((?:$protocol):\S+[\w/])))%"##$count##"%exo) { + (\b((?:$protocol):[^ \t\n<>"]+[\w/])))%"##$count##"%exo) { my $item = $&; $item = value_quote($item); -- cgit v1.2.3-24-g4f1b