Skip to content

Commit

Permalink
Replace deprecated fromHttpUrl with fromUriString
Browse files Browse the repository at this point in the history
Closes gh-1883

Signed-off-by: Loren <[email protected]>
  • Loading branch information
loren-coding authored and jgrandja committed Jan 21, 2025
1 parent 1f28280 commit f1d5427
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2020-2024 the original author or authors.
* Copyright 2020-2025 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -117,7 +117,7 @@ private String resolve(HttpServletRequest request) {
}

// @formatter:off
return UriComponentsBuilder.fromHttpUrl(UrlUtils.buildFullRequestUrl(request))
return UriComponentsBuilder.fromUriString(UrlUtils.buildFullRequestUrl(request))
.replacePath(path)
.replaceQuery(null)
.fragment(null)
Expand Down

0 comments on commit f1d5427

Please sign in to comment.