You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Felix Knecht (JIRA)" <se...@james.apache.org> on 2011/03/22 07:05:05 UTC

[jira] [Created] (JAMES-1206) InetNetworkBuilder doesn't replaces "%" by "/" correctly

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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] [Closed] (JAMES-1206) InetNetworkBuilder doesn't replaces "%" by "/" correctly

Posted by "Felix Knecht (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-1206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Knecht closed JAMES-1206.
-------------------------------


> 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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] [Resolved] (JAMES-1206) InetNetworkBuilder doesn't replaces "%" by "/" correctly

Posted by "Felix Knecht (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-1206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Knecht resolved JAMES-1206.
---------------------------------

    Resolution: Fixed

Resolve by http://svn.apache.org/viewvc?rev=1084071&view=rev

> 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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org