Skip to content

Path parameters are not percent-decoded #220

Closed

Description

@jrosskopf

GET /customers/%37 passes the raw %37 to the validator (400 Invalid integer value), and a string path param such as
John%20Doe arrives encoded in the template. Matching on the raw path is correct; decode path params after matching (before
validation), with tests for reserved characters (%2F must not create a new segment).

Found while working on #211 (Claude Code plugin); not fixed there.

Activity

  1. jrosskopf commented on Nov 21, 2026

    @jrosskopf
    ContributorAuthor

    Fixed and merged in #230 (real-binary integration tests under test/integration/).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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