Skip to content

escaped sequences not mapped correctly #39

@lifeiscontent

Description

@lifeiscontent

Describe the bug

I have a route called contacts.$id[.vcard].tsx

the route string is properly generated by the routes.d.ts but the runtime handling of it is invalid.

the produced URL of the route function looks as follows:

route('/contacts/:id.vcard', {
  id: '1',
})

and the output looks like this:

/contacts/:id.vcard

where :id should be replaced with the actual parameter

Your Example Website or App

N/A

Steps to Reproduce the Bug or Issue

outlined above

Expected behavior

I'd expect the correct runtime value

Screenshots or Videos

No response

Platform

N/A

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions