lots of litlte bug fixes and tweaks
This commit is contained in:
parent
499981d092
commit
1c6fddb206
9 changed files with 25 additions and 0 deletions
|
|
@ -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")}).".");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue