Skip to content
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): uriencode root value #93

Merged
merged 3 commits into from
Oct 18, 2019
Merged

fix(IDN): uriencode root value #93

merged 3 commits into from
Oct 18, 2019

Conversation

curbengh
Copy link
Contributor

@curbengh curbengh commented Sep 8, 2019

The current approach does not encode the root value, this PR fixes that.
Similar to hexojs/hexo-generator-sitemap#66

This PR is necessary to be compatible with hexo v4 and v3 or older (forward & backward compatibility).

Supersede #88

@coveralls
Copy link

coveralls commented Sep 8, 2019

Coverage Status

Coverage remained the same at 100.0% when pulling f3052d0 on curbengh:idn into a513323 on hexojs:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling bd25eeb on curbengh:idn into 1192928 on hexojs:master.

@curbengh curbengh requested a review from tomap September 8, 2019 06:03
@curbengh curbengh changed the title fix(IDN): uriencode root value WIP fix(IDN): uriencode root value Sep 11, 2019
@curbengh
Copy link
Contributor Author

curbengh commented Sep 11, 2019

Pending hexojs/hexo#3708

Edit: hexojs/hexo#3708 is compatible with encodeURL(), regardless whether the url/path is already encoded or not.

@curbengh curbengh changed the title WIP fix(IDN): uriencode root value fix(IDN): uriencode root value Sep 24, 2019
@curbengh curbengh requested a review from a team September 24, 2019 04:58
@curbengh
Copy link
Contributor Author

Rebased

@curbengh curbengh requested review from tomap and a team and removed request for a team and tomap October 17, 2019 06:39
@curbengh curbengh merged commit 4ea5b4c into hexojs:master Oct 18, 2019
@curbengh curbengh deleted the idn branch October 18, 2019 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants