Improve docs on on use of urlDecode=false

Issue: SPR-15643
This commit is contained in:
Rossen Stoyanchev
2017-07-14 16:51:12 +02:00
parent 1ad6180019
commit e37af83459
6 changed files with 31 additions and 51 deletions

View File

@@ -2690,7 +2690,8 @@ properties that you can use to customize their behavior:
* `urlDecode` Defaults to `true`, as of Spring 2.5. If you prefer to compare encoded
paths, set this flag to `false`. However, the `HttpServletRequest` always exposes the
Servlet path in decoded form. Be aware that the Servlet path will not match when
compared with encoded paths.
compared with encoded paths so you cannot use `urlDecode=false` with prefix-based Servlet
mappings and likewise must also set `alwaysUseFullPath=true`.
The following example shows how to configure an interceptor: