Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
feat: add encodeURL() #77
This PR is stemmed from IDN parsing issue (hexojs/hexo-generator-feed#63). It was later (partially) fixed in hexojs/hexo-generator-feed#82, without encodeURI the root value. Full fix is later proposed in hexojs/hexo-generator-feed#88.
All the proposed fixes actually share similar function, so I propose to put it in hexo-util instead.