-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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: handle route encoding #8325
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #8325 +/- ##
==========================================
+ Coverage 68.28% 68.30% +0.01%
==========================================
Files 91 91
Lines 3894 3896 +2
Branches 1063 1063
==========================================
+ Hits 2659 2661 +2
Misses 1002 1002
Partials 233 233
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Co-Authored-By: farnabaz <farnabaz@users.noreply.github.com>
Co-authored-by: @farnabaz
merging to try on edge |
Types of changes
Description
vuejs/vue-router#3350 introduced a breaking change which dropped supporting to encode uri paths. So we need to update internals doing it:
router.base
is always encodedpath
param in route entries (generated code) (update fix: only encode non dynamic path params #8421)router.resolve
withencodeURI(decodeURI(to))
(props to @farnabaz)yarn nuxt dev test/fixtures/encoding
Checklist: