envoyproxy / envoyproxy/envoy

the upstream receive // path

Open
#26,055 6 comments 0 reactions 1 assignee Claimed by @cpakulski View on GitHub
area/http bug no stalebot
Dominant language
C++
Stars
28.9k
Forks
5.6k
Avg merge
1d 20h
Merged PRs (30d)
437

Description

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`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.