summaryrefslogtreecommitdiffstats
path: root/bug_form.pl
diff options
context:
space:
mode:
authorterry%netscape.com <>1999-03-25 09:14:26 +0100
committerterry%netscape.com <>1999-03-25 09:14:26 +0100
commit1885150ec2f834ac6eca117e2d422cba518d30f3 (patch)
treea58d2362559ffa223363b16b60cc73bf50bc6e13 /bug_form.pl
parent4560ec828cfd27f363f665df40d463619ed35231 (diff)
downloadbugzilla-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.pl6
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:&nbsp;$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";