Skip to content

Commit 1c6aa79

Browse files
committed
Fixes #144
1 parent 18ba5b6 commit 1c6aa79

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/MageScan/Check/Sitemap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function getSitemapFromRobotsTxt(Response $response)
4040
{
4141
return $this->getRequest()->findMatchInResponse(
4242
$response->getBody()->getContents(),
43-
'/^(?!#+)\s*Sitemap: (.*)$/mi'
43+
'/^(?!#+)\s*Sitemap:\w+(.*)$/mi'
4444
);
4545
}
4646
}

src/bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
use MageScan\Command\SelfUpdateCommand;
2626
use Symfony\Component\Console\Application;
2727

28-
$app = new Application('Mage Scan', '1.12.5');
28+
$app = new Application('Mage Scan', '1.12.6');
2929

3030
$app->add(new AllCommand);
3131
$app->add(new VersionCommand);

0 commit comments

Comments
 (0)