diff options
author | terry%mozilla.org <> | 2000-03-11 01:52:37 +0100 |
---|---|---|
committer | terry%mozilla.org <> | 2000-03-11 01:52:37 +0100 |
commit | 77c9d7e800351211f79b0f439b21862de7e05294 (patch) | |
tree | 937678f0d7b4240bc6618946849c7a9b46f0f8b0 | |
parent | 983b3de9fa733c65784dbdac78663312616e368c (diff) | |
download | bugzilla-77c9d7e800351211f79b0f439b21862de7e05294.tar.gz bugzilla-77c9d7e800351211f79b0f439b21862de7e05294.tar.xz |
Never let ", <, or > be matched as part of a URL.
-rw-r--r-- | bug_form.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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); |