diff options
author | terry%netscape.com <> | 1999-03-25 09:14:26 +0100 |
---|---|---|
committer | terry%netscape.com <> | 1999-03-25 09:14:26 +0100 |
commit | 1885150ec2f834ac6eca117e2d422cba518d30f3 (patch) | |
tree | a58d2362559ffa223363b16b60cc73bf50bc6e13 /bug_form.pl | |
parent | 4560ec828cfd27f363f665df40d463619ed35231 (diff) | |
download | bugzilla-1885150ec2f834ac6eca117e2d422cba518d30f3.tar.gz bugzilla-1885150ec2f834ac6eca117e2d422cba518d30f3.tar.xz |
Quote URLs and email addresses in the long description of bugs.
Diffstat (limited to 'bug_form.pl')
-rw-r--r-- | bug_form.pl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bug_form.pl b/bug_form.pl index cd2ff0e33..e8bc30ec3 100644 --- a/bug_form.pl +++ b/bug_form.pl @@ -21,6 +21,8 @@ use diagnostics; use strict; +use HTML::FromText; + quietly_check_login(); my $query = " @@ -306,7 +308,9 @@ print " <td align=right>Opened: $bug{'creation_ts'}</td></tr></table> <HR> <PRE> -" . html_quote($bug{'long_desc'}) . " +"; +print text2html($bug{'long_desc'}, email=>1, urls=>1); +print " </PRE> <HR>\n"; |