Skip to content

Improve decoding path segments #16

@kelunik

Description

@kelunik

See #15 (comment)

Here is my case:

  • Path is /.well-known/mercure/subscriptions/https%3A%2F%2Fexample.com%2Fmy-other-topic
  • The current code is transforming it to /.well-known/mercure/subscriptions/https://example.com/my-other-topic

It prevents fastroute to route correctly with the route /.well-known/mercure/subscriptions/{topic}. Maybe adding a test case with my case would be nice?

See also: https://github.com/amphp/http-server-router?tab=readme-ov-file#limitations

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