diff --git a/src/MageScan/Check/Sitemap.php b/src/MageScan/Check/Sitemap.php index 1d04ac7..67eacf6 100644 --- a/src/MageScan/Check/Sitemap.php +++ b/src/MageScan/Check/Sitemap.php @@ -40,7 +40,7 @@ public function getSitemapFromRobotsTxt(Response $response) { return $this->getRequest()->findMatchInResponse( $response->getBody()->getContents(), - '/^(?!#+)\s*Sitemap: (.*)$/mi' + '/^(?!#+)\s*Sitemap:\w+(.*)$/mi' ); } } diff --git a/src/bootstrap.php b/src/bootstrap.php index 0462623..7451715 100644 --- a/src/bootstrap.php +++ b/src/bootstrap.php @@ -25,7 +25,7 @@ use MageScan\Command\SelfUpdateCommand; use Symfony\Component\Console\Application; -$app = new Application('Mage Scan', '1.12.5'); +$app = new Application('Mage Scan', '1.12.6'); $app->add(new AllCommand); $app->add(new VersionCommand);