From 796e2a4fef3feeb9e6a6c483cc0d000c9d075af0 Mon Sep 17 00:00:00 2001 From: Vitaliy Pavlyuk Date: Mon, 22 Oct 2018 16:34:03 -0400 Subject: [PATCH] Documentation correction: _after_ making the downstream request, not before. --- docs/src/main/asciidoc/spring-cloud-gateway.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/main/asciidoc/spring-cloud-gateway.adoc b/docs/src/main/asciidoc/spring-cloud-gateway.adoc index bfe452dc..d1bac5dc 100644 --- a/docs/src/main/asciidoc/spring-cloud-gateway.adoc +++ b/docs/src/main/asciidoc/spring-cloud-gateway.adoc @@ -636,7 +636,7 @@ spring: - RewriteResponseHeader=X-Response-Foo, , password=[^&]+, password=*** ---- -For a header value of `/42?user=ford&password=omg!what&flag=true`, it will be set to `/42?user=ford&password=\***&flag=true` before making the downstream request. Please use `$\` to mean `$` because of the YAML spec. +For a header value of `/42?user=ford&password=omg!what&flag=true`, it will be set to `/42?user=ford&password=\***&flag=true` after making the downstream request. Please use `$\` to mean `$` because of the YAML spec. === SaveSession GatewayFilter Factory The SaveSession GatewayFilter Factory forces a `WebSession::save` operation _before_ forwarding the call downstream. This is of particular use when