lots of litlte bug fixes and tweaks

This commit is contained in:
JT Smith 2006-04-20 19:02:11 +00:00
parent 499981d092
commit 1c6fddb206
9 changed files with 25 additions and 0 deletions

View file

@ -358,6 +358,7 @@ Checks to ensure the requestor is who we think it is, and then executes a workfl
sub www_runWorkflow {
my $session = shift;
$session->http->setMimeType("text/plain");
$session->http->setCacheControl("none");
unless (isInSubnet($session->env->get("REMOTE_ADDR"), $session->config->get("spectreSubnets"))) {
$session->errorHandler->security("make a Spectre workflow runner request, but we're only allowed to
accept requests from ".join(",",@{$session->config->get("spectreSubnets")}).".");