Skip to content

Commit fab98f3

Browse files
committed
Replace deprecated fromHttpUrl with fromUriString
Signed-off-by: Loren <[email protected]>
1 parent b76300b commit fab98f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oauth2-authorization-server/src/main/java/org/springframework/security/oauth2/server/authorization/config/annotation/web/configurers/AuthorizationServerContextFilter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ private String resolve(HttpServletRequest request) {
117117
}
118118

119119
// @formatter:off
120-
return UriComponentsBuilder.fromHttpUrl(UrlUtils.buildFullRequestUrl(request))
120+
return UriComponentsBuilder.fromUriString(UrlUtils.buildFullRequestUrl(request))
121121
.replacePath(path)
122122
.replaceQuery(null)
123123
.fragment(null)

0 commit comments

Comments
 (0)