samdark/sitemap

Cyrylica error

Yuriy-Svetlov opened this issue · 4 comments

When i to add URL on Cyrylica - on Russian language", i get error from validation URL.

https://wxm/кекеё5

Why do you make validation URL? I think than it need removed. Validation must don't be related with this lib.

Fatal error: Uncaught InvalidArgumentException: The location must be a valid URL. You have specified: https://wxm/кекеё5. in ...vendor\samdark\sitemap\Sitemap.php:243 Stack trace: #0 ...vendor\samdark\sitemap\Sitemap.php(297): samdark\sitemap\Sitemap->validateLocation('https://wxm..') 
...vendor\samdark\sitemap\Sitemap.php(272): samdark\sitemap\Sitemap->addSingleLanguageItem('https://wxm_...', 1524153061, 'weekly', 0.3) #2 
.../index.php(13): samdark\sitemap\Sitemap->addItem('https://wxm/...', 1524153061, 'weekly', 0.3) #3 {main} 
...vendor\samdark\sitemap\Sitemap.php on line 243

I can make. I have made. Few minutes.

I fixed #58

If exsisx opportunity, write me down as an assistant/contribute )

OK. I'll check it.

Going to remove validation overall soon.