Skip to content

fix: remove the trailing slash of paths in isSameURL - #542

Merged
pi0 merged 2 commits into
nuxt-community:devfrom
ElmerZhang:fix/isSameURL
Mar 2, 2020
Merged

fix: remove the trailing slash of paths in isSameURL#542
pi0 merged 2 commits into
nuxt-community:devfrom
ElmerZhang:fix/isSameURL

Conversation

@ElmerZhang

Copy link
Copy Markdown
Contributor

Comparing URLs in isSameURL should remove the trailing slash.
Comparison of https://example.com/signIn with https://example.com/signIn/ should return true.

Comparing URLs in isSameURL should remove the trailing slash.
@codecov

codecov Bot commented Feb 27, 2020

Copy link
Copy Markdown

Codecov Report

Merging #542 into dev will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@         Coverage Diff         @@
##            dev   #542   +/-   ##
===================================
  Coverage   100%   100%           
===================================
  Files         1      1           
  Lines         2      2           
===================================
  Hits          2      2

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 a4a1275...b244ee8. Read the comment docs.

@pi0 pi0 changed the title Remove the trailing slash of paths in isSameURL fix: remove the trailing slash of paths in isSameURL Mar 2, 2020
@pi0
pi0 merged commit fb63f6f into nuxt-community:dev Mar 2, 2020
@pi0

pi0 commented Mar 2, 2020

Copy link
Copy Markdown
Member

Thanks!

@pi0

pi0 commented Mar 15, 2020

Copy link
Copy Markdown
Member

Released with v4.9.0.

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.

2 participants