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

When use algolia search input and the hash is Chinese, the router will report an error #2431

Closed
1 task done
bigmeow opened this issue Jun 8, 2020 · 0 comments · Fixed by #2432
Closed
1 task done

Comments

@bigmeow
Copy link
Contributor

bigmeow commented Jun 8, 2020

  • I confirm that this is an issue rather than a question.

Bug report

Steps to reproduce

this.$router.push(`${routepath}${hash}`)

image

What is expected?

I think the hash should be decoded

What is actually happening?

Can't jump navigation route

  • Output of npx vuepress info in my VuePress project:
Environment Info:

  System:
    OS: Windows 10 10.0.17763
    CPU: (8) x64 Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
  Binaries:
    Node: 14.4.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.21.1 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
    npm: 6.14.5 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: 44.17763.831.0
  npmPackages:
    @vuepress/core: Not Found
    @vuepress/theme-default: Not Found
    vuepress: Not Found
  npmGlobalPackages:
    vuepress: Not Found
@bigmeow bigmeow changed the title When the hash is Chinese, the router will report an error When use algolia search input and the hash is Chinese, the router will report an error Jun 8, 2020
bigmeow added a commit to bigmeow/vuepress that referenced this issue Jun 8, 2020
larionov pushed a commit to larionov/vuepress that referenced this issue Aug 19, 2020
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 a pull request may close this issue.

1 participant