-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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: inconsistent handling of non-ASCII base
in resolveConfig
and dev server
#10247
Conversation
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.
Lack of detailed explanation of what this PR does.
Maybe you can create an issue for this feature first?
That may be not necessary, actually, there may be little users set base url to Chinese or Japanese ... The main purpose of this PR is to let the parse of base url stay the same as others. And here is the discussion config base with chinese will make some mistakes |
Thanks. I get that they are inconsistent. |
refactoring ^_^ |
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.
code update need review
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.
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. Thanks!
Thanks a lot |
base
in resolveConfig
and dev server
Description
format config.base by URL
Additional context
What is the purpose of this pull request?
Before submitting the PR, please make sure you do the following
fixes #123
).config `base` with chinese will make some mistakes #10229