Merge pull request #4343 from eugenp/issue-4331

fix filter
This commit is contained in:
Loredana Crusoveanu 2018-05-26 17:36:23 +03:00 committed by GitHub
commit 454171e047
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,8 +16,6 @@ class IndexRewriteFilter implements WebFilter {
.equals("/")) { .equals("/")) {
return webFilterChain.filter(serverWebExchange.mutate() return webFilterChain.filter(serverWebExchange.mutate()
.request(builder -> builder.method(request.getMethod()) .request(builder -> builder.method(request.getMethod())
.contextPath(request.getPath()
.toString())
.path("/test")) .path("/test"))
.build()); .build());
} }