You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2021/07/30 17:36:17 UTC
[maven-javadoc-plugin] branch stabilize updated: Enforce localhost
as hostname for proxy
This is an automated email from the ASF dual-hosted git repository.
rfscholte pushed a commit to branch stabilize
in repository https://gitbox.apache.org/repos/asf/maven-javadoc-plugin.git
The following commit(s) were added to refs/heads/stabilize by this push:
new 4895e81 Enforce localhost as hostname for proxy
4895e81 is described below
commit 4895e816957dc3895a729fb318ef250b439f0247
Author: rfscholte <rf...@apache.org>
AuthorDate: Fri Jul 30 19:36:05 2021 +0200
Enforce localhost as hostname for proxy
---
src/test/java/org/apache/maven/plugins/javadoc/ProxyServer.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/java/org/apache/maven/plugins/javadoc/ProxyServer.java b/src/test/java/org/apache/maven/plugins/javadoc/ProxyServer.java
index 7c1ad2d..b032987 100644
--- a/src/test/java/org/apache/maven/plugins/javadoc/ProxyServer.java
+++ b/src/test/java/org/apache/maven/plugins/javadoc/ProxyServer.java
@@ -130,7 +130,7 @@ class ProxyServer
}
catch ( UnknownHostException e )
{
- // nop
+ connector.setHost( "localhost" );
}
}
if ( port > 0 )