mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-25 21:42:17 +00:00
Use RequestPath
Fixes gh-4389
This commit is contained in:
parent
6c286696b4
commit
6db418f47b
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user