Signed-off-by: Don Armstrong <don@donarmstrong.com>
* Assure in apache.conf example that documentation html pages get loaded.
* Rewrite rule example: http://<webhost>/<nnn> -> show bug report for
bug <nnn>.
+ * Fix sani function in scripts/errorlib. Generate html entities correctly
+ (prepend ampersand, append semicolon).
-- Don Armstrong <don@debian.org> Wed, 25 Aug 2010 01:57:38 -0700
sub sani {
my ($in) = @_;
carp "You should be using HTML::Entities instead.";
- $in =~ s/([<>&"])/$saniarray{$1}/g;
+ $in =~ s/([<>&"])/\&$saniarray{$1};/g;
return $in;
}