You are seeing this error because the website or file you attempted to access contains
material, links or language that has been deemed to be inappropriate for viewing at INSERT
YOUR ORGANIZATION. Details including your username have been logged and sent to the IT Dept!
Block Reason
If you are unable to determine why this website was blocked click on the following button.
WARNING: This will display a sample of inappropriate language that was contained on the blocked page!
Blocked in Error?
If you believe the server has incorrectly blocked a page or file that does
not contain inappropriate material or language please take the time to
complete the following form. This site will be reviewed and the accuracy of
blocking improved. Please do not fill in a report if you have accidentally
gone to a page that has resulted in a block.
EOE
exit;
sub ReadEnvs {
local($cl, @clp, $pair, $name, $value);
if ( $ENV{'REQUEST_METHOD'} eq 'POST' ) {
read(STDIN, $cl, $ENV{'CONTENT_LENGTH'} );
}
else {
$cl = $ENV{'QUERY_STRING'};
}
@clp = split(/&/, $cl);
foreach $pair (@clp) {
($name, $value) = split(/=/, $pair);
$value =~ tr/+/ /;
$value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
$value =~ s///g;
if ($allow_html_code != 1) {
$value =~ s/<([^>]|\n)*>//g;
}
$in{$name} = $value;
}
}
sub email {
my $name = $in{'name'};
my $email = $in{'email'};
my $id = $in{'id'};
my $error = $in{'error'};
if ( $name =~ /^$/) {
$name = "No name provided" ;
};
if ( $email =~ /^$/ ) {
$email = "No Email address provided" ;
$from = $reportto;
} else {
$from = $email ;
};
if ( $id =~ /^$/ ) {
$id = "No ID provided" ;
};
if ( $error =~ /^$/ ) {
$error = "No error provided" ;
};
if ( $deniedurl =~ /^$/ ) {
$deniedurl = "No Denied URL provided" ;
};
if ( $reason =~ /^$/ ) {
$reason = "No Cause of Denial provided" ;
};
open (EMAILER, "|$mailer") or die "Can't open the mailer" ;
print EMAILER <
From: $name <$from>
To: Content Filter Administrator <$reportto>
Subject: User BAN complaint - $deniedurl - $reason
A user has provided details as to why they believe the ban is wrong.
Name:
$name
Email:
$email
Username:
$id
Site:
$deniedurl
Ban Cause:
$reason
Users argument:
$error
EOM
close (EMAILER) ;
print <Details have been submitted..
Thank
You
Your
details
have been sent to the Content Filter Administrator.
As a
result of
your feedback filtering rules will be modified
to help prevent legitimate web pages being blocked.