mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
Apache 2.4.27 breaks ExtraHD-GUI
Opening 'extrahd.cgi' led to: "Response header name 'scanhd idescanhd partitionsCache-control' contains invalid characters, aborting request". https://forum.ipfire.org/viewtopic.php?f=27&t=19550#p111030 https://forum.ipfire.org/viewtopic.php?f=50&t=19563&sid=575337ac1caf1df492fced01ca6243de#p111048 https://forum.ipfire.org/viewtopic.php?f=22&t=19563#p111052 Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
2083519a64
commit
d5f061e9e7
@@ -48,8 +48,13 @@ my $partitionentry = "";
|
||||
my $devicefile = "/var/ipfire/extrahd/devices";
|
||||
my $scanfile = "/var/ipfire/extrahd/scan";
|
||||
my $partitionsfile = "/var/ipfire/extrahd/partitions";
|
||||
system("/usr/local/bin/extrahdctrl scanhd ide");
|
||||
system("/usr/local/bin/extrahdctrl scanhd partitions");
|
||||
|
||||
#workaround to suppress a warning when a variable is used only once
|
||||
my @dummy = ( ${Header::colourgreen}, ${Header::colourred} );
|
||||
undef (@dummy);
|
||||
|
||||
system("/usr/local/bin/extrahdctrl scanhd ide >/dev/null");
|
||||
system("/usr/local/bin/extrahdctrl scanhd partitions >/dev/null");
|
||||
|
||||
&Header::showhttpheaders();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user