Use RequestPath

Fixes gh-4389
This commit is contained in:
Rob Winch 2017-06-12 12:42:15 -05:00
parent 6c286696b4
commit 6db418f47b
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ public final class PathMatcherServerWebExchangeMatcher implements ServerWebExcha
if(this.method != null && !this.method.equals(request.getMethod())) {
return MatchResult.notMatch();
}
String path = request.getPathWithinApplication();
String path = request.getPath().pathWithinApplication().value();
boolean match = pathMatcher.match(pattern, path);
if(!match) {
return MatchResult.notMatch();