-
-
Notifications
You must be signed in to change notification settings - Fork 61
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(encodeURL): correct URL search parameter encoding #413
base: master
Are you sure you want to change the base?
Conversation
The code currently uses four sets of URL handling components:
The functions/classes in each of these groups work fine together but combining them across groups produces unexpected (and sometimes invalid) results because their functionalities do not overlap. What's the purpose of this decoding and encoding? I would avoid the operations that should cancel each other ( |
Thanks for your advice. I also don't know the purpose of some of the code. However, hexo-util is referenced by other packages, so it has to be changed with caution |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
check list
Description
fix #411
Additional information