diff --git a/base/Siege.php b/base/Siege.php index 3859af1..84fa533 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,