Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-1206

InetNetworkBuilder doesn't replaces "%" by "/" correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0-M2
    • 3.0-beta3
    • DNSServer
    • None
    • All

    Description

      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";
      >

      Attachments

        Activity

          People

            felixk Felix Knecht
            felixk Felix Knecht
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: