-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
fix(idn): encode url except domain #68
Conversation
Your title is wrong. Idn should not be encoded to punycode. Ever. Just the path should be encoded. |
0ee9d1e
to
1313ba4
Compare
Updated title and commit message. I think you might have confused percent-encoding with punycode. IDN must not be encoded to percent-encoding, but it can be encoded to punycode even though it's not required. btw, don't merge this until we can figure out the failing test. |
Pending hexojs/hexo#3708 |
1313ba4
to
0a3d41d
Compare
Fixed failing test. Ready to be reviewed. |
0a3d41d
to
97b99be
Compare
97b99be
to
66c708f
Compare
@hexojs/core |
Compatibility with hexo v4 (hexojs/hexo#3708), while maintaining backward compatibility with v3, #74 is not compatible with v3 nor IDN.
Fixes hexojs/hexo-generator-feed#63
Supersede #66, #74