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: remove "encodePaths" option and don't encode paths by default #731

Merged
merged 1 commit into from
May 25, 2020

Conversation

rchl
Copy link
Collaborator

@rchl rchl commented May 25, 2020

This could be considered a breaking change but since I only know of it
breaking things rather than helping anything and there are no tests that
would prove me otherwise, I think it's safe to remove without releasing
a major version.

Also, Nuxt doesn't encode paths either so this change aligns with it.

Resolves #712

This could be considered a breaking change but since I only know of it
breaking things rather than helping anything and there are no tests that
would prove me otherwise, I think it's safe to remove without releasing
a major version.

Also, Nuxt doesn't encode paths either so this change aligns with it.

Resolves #712
@codecov
Copy link

codecov bot commented May 25, 2020

Codecov Report

Merging #731 into master will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #731   +/-   ##
=======================================
  Coverage   97.60%   97.60%           
=======================================
  Files           3        3           
  Lines         125      125           
  Branches       34       33    -1     
=======================================
  Hits          122      122           
  Misses          3        3           
Impacted Files Coverage Δ
src/helpers/routes.js 96.61% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6d83966...ead3dc7. Read the comment docs.

@rchl
Copy link
Collaborator Author

rchl commented May 25, 2020

Paths encoding was fixing issue #7 but that one doesn't reproduce in latest Nuxt anymore so I'm even more confident in getting rid of encodePaths option.

@rchl rchl merged commit aba92b3 into master May 25, 2020
@rchl rchl deleted the fix/remove-encode-path-option branch May 25, 2020 17:46
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.

How can I redirect translated url to the same page
1 participant