Skip to content

Routes with non-ascii characters are not matched in SSR #3110

Open
@ejez

Description

@ejez

Version

3.1.5

Reproduction link

https://github.com/ejez/vue-router-ssr-issue

Steps to reproduce

  1. Create a basic vue project with ssr and router:
git clone https://github.com/ejez/vue-router-ssr-issue
cd vue-router-ssr-issue && yarn
  1. start project:
yarn start
  1. open following link in browser:
    http://localhost:8080/à-propos

What is expected?

Route should match and browser should show page contents

What is actually happening?

404 error in terminal


When on client, the previous route is matched and works normally, this can be checked by initially visiting http://localhost:8080 , and then clicking on the link "Go To à-propos".

Another route without "non-ascii characters" is provided to show that it works normally both in ssr and client:
http://localhost:8080/about

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions