Skip to content

the upstream receive // path #26055

@qicz

Description

@qicz

like envoy doc configured, use pathSeparatedPrefix and pre_rewrite is "/":

image

the pathSeparatedPrefix "/om/backend" would watch

  • /om/backend
  • /om/backend/
  • /om/backend/v1
  • /om/backend?param=true

reference envoy docs:

image

but the upstream receive double "/"

image

the pre_rewrite is not "/" work fine:

image

image

I think we should trim the double "/" when the prefix_write is "/" and the prefix is pathSeparatedPrefix.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions