InetNetworkBuilder doesn't replaces "%" by "/" correctly
---------------------------------------------------------
Key: JAMES-1206
URL: https://issues.apache.org/jira/browse/JAMES-1206
Project: JAMES Server
Issue Type: Bug
Components: DNSServer
Affects Versions: 3.0-M2
Environment: All
Reporter: Felix Knecht
Assignee: Felix Knecht
Fix For: 3.0-M3
james/server/trunk/dnsservice-library/src/main/java/org/apache/james/dnsservice/library/inetnetwork/InetNetworkBuilder.java
netspec should be replace by the new value containing the replaced values:
@@ -136,7 +136,7 @@ public class InetNetworkBuilder {
> }
>
> // Netmask can be separated with %
> - netspec.replaceAll("%", "/");
> + netspec = netspec.replaceAll("%", "/");
>
> if (netspec.indexOf('/') == -1) {
> netspec += "/32768";
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]