Closed marco-pm closed 3 months ago
https://github.com/lat9/sitemapxml/blob/d0e36377e0dd0576ff8500abb0e85aaf8aa86aac/sitemapXML/YOUR_Admin/sitemapxml.php#L115C1-L115C126
It checks if the token does not contain unallowed characters, so the condition should be preg_match('/[^\/0-9a-zA-Z_.-]/', SITEMAPXML_EXECUTION_TOKEN) === 0 (and not === 1)
preg_match('/[^\/0-9a-zA-Z_.-]/', SITEMAPXML_EXECUTION_TOKEN) === 0
=== 1
https://github.com/lat9/sitemapxml/blob/d0e36377e0dd0576ff8500abb0e85aaf8aa86aac/sitemapXML/YOUR_Admin/sitemapxml.php#L115C1-L115C126
It checks if the token does not contain unallowed characters, so the condition should be
preg_match('/[^\/0-9a-zA-Z_.-]/', SITEMAPXML_EXECUTION_TOKEN) === 0
(and not=== 1
)