-
-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
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
Domain should not be uri encoded (for IDN) #63
Closed
Comments
Same for rss2 link and gui tags: |
Merged
hexo-generator-sitemap might have similar issue. |
2 tasks
This was referenced Sep 2, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
You should not uri encode the domain. For IDN (international domain names), it produces the wrong result:
https://github.com/hexojs/hexo-generator-feed/blob/master/atom.xml#L8
https://tpî.eu should not be uri encoded into
https://tp%C3%AE.eu/
You can either leave is like that or use the punycode version
https://xn--tp-rja.eu/
(but I'm not sure you have a function for that and it is not needed)The text was updated successfully, but these errors were encountered: