Skip to content

Qwik City SSG - can't have special characters in dynamic route URI #1999

Open
@iacore

Description

@iacore

Qwik Version

    "@builder.io/qwik": "^0.12.1",
    "@builder.io/qwik-city": "^0.0.112",

Which component is affected?

Qwik City

Expected Behaviour

When generating route like /[abc], when abc has space (0x20) in it, it should retain the space character.

For example, if the URI is /a%20b, the generated file should be at /dist/a b/index.html

Actual Behaviour

If the URI is /a%20b, the generated file is at /dist/a%20b/index.html

A lot of HTTP server expect the file name not to be encoded.

Additional Information

This feature is useful for supporting non-ascii characters in the URL, like /一二 (invalid URI, but Firefox would display it as such).

Metadata

Metadata

Assignees

No one assigned

    Labels

    COMP: qwik-cityP4: urgentIf Bug - it makes Qwik unstable and affects the majority of usersTYPE: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions