Include port when logging URI in DefaultWebClient
Closes gh-30519
This commit is contained in:
parent
620f558547
commit
75d1278bde
|
@ -698,7 +698,7 @@ final class DefaultWebClient implements WebClient {
|
|||
private static URI getUriToLog(URI uri) {
|
||||
if (StringUtils.hasText(uri.getQuery())) {
|
||||
try {
|
||||
uri = new URI(uri.getScheme(), uri.getHost(), uri.getPath(), null);
|
||||
uri = new URI(uri.getScheme(), null, uri.getHost(), uri.getPort(), uri.getPath(), null, null);
|
||||
}
|
||||
catch (URISyntaxException ex) {
|
||||
// ignore
|
||||
|
|
Loading…
Reference in New Issue