Author: remy.maucherat(a)jboss.com
Date: 2012-03-07 11:21:16 -0500 (Wed, 07 Mar 2012)
New Revision: 1995
Modified:
trunk/java/org/apache/coyote/ajp/AjpAprProtocol.java
trunk/java/org/apache/coyote/ajp/AjpProtocol.java
trunk/java/org/apache/coyote/http11/Http11AprProtocol.java
trunk/java/org/apache/coyote/http11/Http11Protocol.java
trunk/webapps/docs/changelog.xml
Log:
AS7-3851: Cleanup IPv6 logging.
Modified: trunk/java/org/apache/coyote/ajp/AjpAprProtocol.java
===================================================================
--- trunk/java/org/apache/coyote/ajp/AjpAprProtocol.java 2012-03-07 16:20:42 UTC (rev
1994)
+++ trunk/java/org/apache/coyote/ajp/AjpAprProtocol.java 2012-03-07 16:21:16 UTC (rev
1995)
@@ -289,7 +289,7 @@
String encodedAddr = "";
if (getAddress() != null) {
encodedAddr = "" + getAddress();
- encodedAddr = URLEncoder.encode(encodedAddr.replace('/',
'-')) + "-";
+ encodedAddr = URLEncoder.encode(encodedAddr.replace('/',
'-').replace(':', '_').replace('%', '-')) +
"-";
}
return ("ajp-" + encodedAddr + endpoint.getPort());
}
Modified: trunk/java/org/apache/coyote/ajp/AjpProtocol.java
===================================================================
--- trunk/java/org/apache/coyote/ajp/AjpProtocol.java 2012-03-07 16:20:42 UTC (rev 1994)
+++ trunk/java/org/apache/coyote/ajp/AjpProtocol.java 2012-03-07 16:21:16 UTC (rev 1995)
@@ -266,7 +266,7 @@
String encodedAddr = "";
if (getAddress() != null) {
encodedAddr = "" + getAddress();
- encodedAddr = URLEncoder.encode(encodedAddr.replace('/',
'-')) + "-";
+ encodedAddr = URLEncoder.encode(encodedAddr.replace('/',
'-').replace(':', '_').replace('%', '-')) +
"-";
}
return ("ajp-" + encodedAddr + endpoint.getPort());
}
Modified: trunk/java/org/apache/coyote/http11/Http11AprProtocol.java
===================================================================
--- trunk/java/org/apache/coyote/http11/Http11AprProtocol.java 2012-03-07 16:20:42 UTC
(rev 1994)
+++ trunk/java/org/apache/coyote/http11/Http11AprProtocol.java 2012-03-07 16:21:16 UTC
(rev 1995)
@@ -234,7 +234,7 @@
String encodedAddr = "";
if (getAddress() != null) {
encodedAddr = "" + getAddress();
- encodedAddr = URLEncoder.encode(encodedAddr.replace('/',
'-')) + "-";
+ encodedAddr = URLEncoder.encode(encodedAddr.replace('/',
'-').replace(':', '_').replace('%', '-')) +
"-";
}
return ("http-" + encodedAddr + endpoint.getPort());
}
Modified: trunk/java/org/apache/coyote/http11/Http11Protocol.java
===================================================================
--- trunk/java/org/apache/coyote/http11/Http11Protocol.java 2012-03-07 16:20:42 UTC (rev
1994)
+++ trunk/java/org/apache/coyote/http11/Http11Protocol.java 2012-03-07 16:21:16 UTC (rev
1995)
@@ -281,7 +281,7 @@
String encodedAddr = "";
if (getAddress() != null) {
encodedAddr = "" + getAddress();
- encodedAddr = URLEncoder.encode(encodedAddr.replace('/',
'-')) + "-";
+ encodedAddr = URLEncoder.encode(encodedAddr.replace('/',
'-').replace(':', '_').replace('%', '-')) +
"-";
}
return ("http-" + encodedAddr + endpoint.getPort());
}
Modified: trunk/webapps/docs/changelog.xml
===================================================================
--- trunk/webapps/docs/changelog.xml 2012-03-07 16:20:42 UTC (rev 1994)
+++ trunk/webapps/docs/changelog.xml 2012-03-07 16:21:16 UTC (rev 1995)
@@ -16,6 +16,16 @@
<body>
+<section name="JBoss Web 7.2.0.Alpha1 (remm)">
+ <subsection name="Coyote">
+ <changelog>
+ <fix>
+ <jboss-jira>AS7-3851</jboss-jira>: Cleanup IPv6 logging. (remm)
+ </fix>
+ </changelog>
+ </subsection>
+</section>
+
<section name="JBoss Web 7.0.12.Final (remm)">
<subsection name="Coyote">
<changelog>
Show replies by date