Skip to content

Strip query part automatically when binding a service #5054

@minwoox

Description

@minwoox

If a ? is used in a path for binding a service, (e.g. sb.service("https://github.com/foo?bar, unreachableService)) the unreachable service is bound without any exception.
We should:

  • strip the query part and automatically set it to RouteBuilder.matchesParams() when the path type is EXACT or PARAMETERIZED.
  • raise an exception if the path type is PREFIX.

We should also raise an exception if the path contain # when the path type is EXACT, PARAMETERIZED, or PREFIX.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions