From 2927195eef5ac66f3782b7e0a973ce8f54d16915 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Mon, 11 Jan 2016 15:01:48 +0000 Subject: [PATCH] Update siege blacklist to 3.0 --- base/Siege.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base/Siege.php b/base/Siege.php index 0cc1922..ff0977e 100644 --- a/base/Siege.php +++ b/base/Siege.php @@ -28,14 +28,14 @@ public function __construct( escapeshellarg($options->siege).' --version 2>&1 | head -n 1', ), ); - $bad_prefix = 'SIEGE 3'; + $bad_prefix = 'SIEGE 3.0'; if (substr($version_line, 0, strlen($bad_prefix)) === $bad_prefix) { fprintf( STDERR, "WARNING: Siege 3.0.0-3.0.7 sends an incorrect HOST header to ports ". "other than :80 and :443. Siege 3.0.8 and 3.0.9 sometimes sends full ". "URLs as paths. You are using '%s'.\n\n". - "You can specify a path to siege 2.7x with the ". + "You can specify a path to siege 2.7x or > 3.1 with the ". "--siege=/path/to/siege option. If you have patched siege to fix ". "these issues, pass --skip-version-checks.\n", $version_line,