From 54f1e9551e7b330e28e7af9a08498d7a741e0251 Mon Sep 17 00:00:00 2001 From: "terry%mozilla.org" Date: Fri, 10 Mar 2000 16:52:37 +0000 Subject: [PATCH] Never let ", <, or > be matched as part of a URL. git-svn-id: svn://10.0.0.236/trunk@62532 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/bug_form.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/webtools/bugzilla/bug_form.pl b/mozilla/webtools/bugzilla/bug_form.pl index 4ca7f43c5f9..bac65d14c2e 100644 --- a/mozilla/webtools/bugzilla/bug_form.pl +++ b/mozilla/webtools/bugzilla/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);