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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0-M2
    • Fix Version/s: 3.0-beta3
    • Component/s: DNSServer
    • Labels:
      None
    • Environment:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: