From b27fc3689ac24eec4b821595af313b777e1005de 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 99aac709..a2560037 100644 --- a/docs/src/main/asciidoc/spring-cloud-gateway.adoc +++ b/docs/src/main/asciidoc/spring-cloud-gateway.adoc @@ -719,7 +719,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