Commit 1885150e authored by terry%netscape.com's avatar terry%netscape.com

Quote URLs and email addresses in the long description of bugs.

parent 4560ec82
......@@ -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
......
......@@ -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";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment