Skip to content

Commit f1d5427

Browse files
loren-codingjgrandja
authored andcommitted
Replace deprecated fromHttpUrl with fromUriString
Closes gh-1883 Signed-off-by: Loren <[email protected]>
1 parent 1f28280 commit f1d5427

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020-2024 the original author or authors.
2+
* Copyright 2020-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -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)