Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nanoc SitemapXML helper doesn't encode URLs that contain non-ascii-characters, but that is required. https://support.google.com/webmasters/answer/183668 For example, if I create create a file called проверка.html, the sitemap looks like this:
<url> <loc>https://example.com/проверка/</loc> <lastmod>2017-01-06</lastmod> </url>
But it has to look like this:
<url> <loc>https://example.com/%D0%BF%D1%80%D0%BE%D0%B2%D0%B5%D1%80%D0%BA%D0%B0/</loc> <lastmod>2017-01-06</lastmod> </url>
The text was updated successfully, but these errors were encountered:
Escape URLs in sitemaps (fixes #1052)
0981c13
0e78f9f
fixup! Escape URLs in sitemaps (fixes #1052)
a90e79b
4d8008e
Merge pull request #1054 from nanoc/sitemap-escape-urls
567b4aa
fa9e369
No branches or pull requests
Nanoc SitemapXML helper doesn't encode URLs that contain non-ascii-characters, but that is required.
https://support.google.com/webmasters/answer/183668
For example, if I create create a file called проверка.html, the sitemap looks like this:
But it has to look like this:
The text was updated successfully, but these errors were encountered: