At least bug.pl appears to be blacklisted in our content filter. As well as
filing a bug there workaround it.
use Emesinae::Bug;
use Emesinae::Common;
-require 'common.pl';
+require 'common.cgi';
readconfig;
my $dbh = opendb;
use Emesinae::Bug;
use Emesinae::Common;
-require 'common.pl';
+require 'common.cgi';
readconfig;
sub buglink {
my $b = shift;
my $t = shift or $b->{title};
- my $url = cgipath("bug.pl?id=" . $b->{id});
+ my $url = cgipath("bug.cgi?id=" . $b->{id});
return a( { href => $url }, $t );
}
my $t = shift;
my %attr = @_;
- my $url = cgipath("message.pl?id=" . $m->{id});
+ my $url = cgipath("message.cgi?id=" . $m->{id});
$url .= "&part=" . $attr{part} if $attr{part};
$url .= "&raw=" . $attr{raw} if $attr{raw};
done
set -e; for CGI in $(CGIS) ; do \
- $(INSTALL) $${CGI} $(CGIS_DIR) ; \
+ $(INSTALL) $${CGI} $(CGIS_DIR)/$$(basename $${CGI} .pl).cgi; \
done
set -e; for CSS in $(CSSS) ; do \
sub bugurl ($) {
my $bn = shift;
- return "http://" . $c{TrackerHost} . $c{CGIPath} . "bug.pl?id=$bn";
+ return "http://" . $c{TrackerHost} . $c{CGIPath} . "bug.cgi?id=$bn";
}
push @reply, ( "", "Modified/created Bugs:" ) if %bugs;