We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18ba5b6 commit 1c6aa79Copy full SHA for 1c6aa79
src/MageScan/Check/Sitemap.php
@@ -40,7 +40,7 @@ public function getSitemapFromRobotsTxt(Response $response)
40
{
41
return $this->getRequest()->findMatchInResponse(
42
$response->getBody()->getContents(),
43
- '/^(?!#+)\s*Sitemap: (.*)$/mi'
+ '/^(?!#+)\s*Sitemap:\w+(.*)$/mi'
44
);
45
}
46
src/bootstrap.php
@@ -25,7 +25,7 @@
25
use MageScan\Command\SelfUpdateCommand;
26
use Symfony\Component\Console\Application;
27
28
-$app = new Application('Mage Scan', '1.12.5');
+$app = new Application('Mage Scan', '1.12.6');
29
30
$app->add(new AllCommand);
31
$app->add(new VersionCommand);
0 commit comments