-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
URL normalization #2956
Comments
@Lookyan could you elaborate more on this? Thank you! |
@dio at least I want to have a feature of multiple slash replacement with one slash during proxying to upstream. |
@Lookyan got it. Sorry I didn't see that additional slashes when I read this issue previously. |
docs: clarify the use of "/" as a prefix_rewrite This patch clarifies the use of "/" as a prefix_rewrite in route and redirect prefix rewriting. And also a note on the use of trailing slashes as match value. Risk Level: Low Testing: add more input samples to RedirectPrefixRewrite test. Docs Changes: Update route.proto doc regarding path_rewrite both for redirect and route. Release Notes: N/A Fixes #2956 Signed-off-by: Dhi Aurrahman <dio@rockybars.com>
docs: clarify the use of "/" as a prefix_rewrite This patch clarifies the use of "/" as a prefix_rewrite in route and redirect prefix rewriting. And also a note on the use of trailing slashes as match value. Risk Level: Low Testing: add more input samples to RedirectPrefixRewrite test. Docs Changes: Update route.proto doc regarding path_rewrite both for redirect and route. Release Notes: N/A Fixes envoyproxy#2956 Signed-off-by: Dhi Aurrahman <dio@rockybars.com> Signed-off-by: Rama <rama.rao@salesforce.com>
URL normalization
Description:
Can't find an URL normalization option (https://en.wikipedia.org/wiki/URL_normalization).
Now we have an option prefix rewrite for vhosts. For example we can replace
/service-hello
with/
and proxy to root address of service. But in case of/service-hello -> /
replacement if we request to this address: http://envoy:8888/service-hello/_healthz then we will get a request to http://helloservice//_healthzIt would be nice if we had this feature of URL normalization if we don't have one.
The text was updated successfully, but these errors were encountered: