Skip to content

Nested Router double-decodes path #134

@vpzomtrrfrt

Description

@vpzomtrrfrt
  • Check if updating to the latest preact-iso version resolves the issue

Describe the bug
A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://codesandbox.io/p/sandbox/yrgg49
  2. Change the URL path to /nested/child/%25

It throws a "malformed URI sequence" error. This does not happen with the non-nested route.

Expected behavior
The behaviour should be consistent between nested and non-nested routes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions