From d2d7a5380cb5ad080ecab606965b9d3608c8421c Mon Sep 17 00:00:00 2001 From: Tsu-ba-me Date: Wed, 28 Jul 2021 19:13:58 -0400 Subject: [PATCH] fix(Anvil): search all args for Access-Control value --- Anvil/Tools/Striker.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Anvil/Tools/Striker.pm b/Anvil/Tools/Striker.pm index cad450b6..cf6121f8 100644 --- a/Anvil/Tools/Striker.pm +++ b/Anvil/Tools/Striker.pm @@ -132,7 +132,7 @@ sub check_httpd_conf my $header_name = "Access-Control-Allow-Origin"; $augtool_path = "/files".$anvil->data->{path}{data}{httpd_conf}."/Directory[arg='\"/var/www/cgi-bin\"']/directive[.='Header']"; - $read_shell_call = $anvil->data->{path}{exe}{augtool}." <data->{path}{exe}{augtool}." <System->call({ shell_call => $read_shell_call }); $anvil->Log->variables({ source => $THIS_FILE, line => __LINE__, level => $debug, list => {