diff options
-rw-r--r-- | CHANGES | 5 | ||||
-rw-r--r-- | README | 9 | ||||
-rw-r--r-- | bug_form.pl | 6 |
3 files changed, 18 insertions, 2 deletions
@@ -10,6 +10,11 @@ query the CVS tree. For example, will tell you what has been changed in the last week. +3/24/99 Added quoting of URLs and email addresses in bug descriptions. This +requires the use of the HTML::FromText CPAN module, which can be downloaded +from ftp://ftp.cpan.org/pub/perl/CPAN/modules/by-module/HTML/. + + 3/22/99 Added the ability to query by fields which have changed within a date range. To make this perform a bit better, we need a new index: @@ -161,7 +161,12 @@ It can be installed in the usual fashion after it has been fetched from CPAN where it is found as the Chart-x.x... tarball in a directory to be listed in Appendix A. -1.9. HTTP server +1.9. HTML::FromText Perl module (1.001 or greater) + +This module does conversion from plaintext to html, doing the right +things with URLs and stuff. You can find it on CPAN (link in Appendix A). + +1.10. HTTP server You have a freedom of choice here - Apache, Netscape or any other server on UNIX would do. The only thing - to make configuration easier you'd better run @@ -370,6 +375,8 @@ GD Perl module: ftp://ftp.cpan.org/pub/perl/CPAN/modules/by-module/GD/ Chart::Base module: ftp://ftp.cpan.org/pub/perl/CPAN/modules/by-module/Chart/ +HTML::FromText module: + ftp://ftp.cpan.org/pub/perl/CPAN/modules/by-module/HTML/ Appendix B. Modifying Your Running System 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"; |