Skip to content

Surprising param encoding #900

@nedtwigg

Description

@nedtwigg

I have a route like this:

env.router().get("/confirm/:code", req -> {
    return req.param("code").value();
});

I would expect that /confirm/a+b would parse to a+b, but instead it is a b. Is this the intended behavior? And if it is, where can I find the docs on what other transformations are applied?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions