From fac9ca891a3c4b56c1b2ae9e173a2096de56d6a2 Mon Sep 17 00:00:00 2001 From: Rossen Stoyanchev Date: Mon, 11 Nov 2019 17:31:34 +0000 Subject: [PATCH] Fix copy-and-paste error in docs --- src/docs/asciidoc/web/webmvc.adoc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/docs/asciidoc/web/webmvc.adoc b/src/docs/asciidoc/web/webmvc.adoc index 59fbbc2dbb1..4c95a04ba9f 100644 --- a/src/docs/asciidoc/web/webmvc.adoc +++ b/src/docs/asciidoc/web/webmvc.adoc @@ -1292,13 +1292,13 @@ a proxy at the boundary of trust should be configured to remove untrusted `Forwa headers that come from the outside. You can also configure the `ForwardedHeaderFilter` with `removeOnly=true`, in which case it removes but does not use the headers. -In order to support <> this filter must be mapped -with `DispatcherType.ASYNC` so that the filter can delay and successfully generate the an -ETag to the end of the last async dispatch. If using Spring Framework's -`AbstractAnnotationConfigDispatcherServletInitializer` (see <>) -all filters are automatically registered for all dispatch types. However if registering -the filter via web.xml or in Spring Boot via a `FilterRegistrationBean` be sure to include -`DispatcherType.ASYNC`. +In order to support <> and error dispatches this +filter should be mapped with `DispatcherType.ASYNC` and also `DispatcherType.ERROR`. +If using Spring Framework's `AbstractAnnotationConfigDispatcherServletInitializer` +(see <>) all filters are automatically registered for all dispatch +types. However if registering the filter via web.xml or in Spring Boot via a +`FilterRegistrationBean` be sure to include `DispatcherType.ASYNC` and +`DispatcherType.ERROR` in addition to `DispatcherType.REQUEST`.