]> err.no Git - sope/commitdiff
patched to allow IP addresses in WOPort
authorhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Wed, 2 Feb 2005 02:23:30 +0000 (02:23 +0000)
committerhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Wed, 2 Feb 2005 02:23:30 +0000 (02:23 +0000)
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@537 e4a50df8-12e2-0310-a44c-efbce7f8a7e3

sope-appserver/NGObjWeb/ChangeLog
sope-appserver/NGObjWeb/Version
sope-appserver/NGObjWeb/WOHttpAdaptor/WOHttpAdaptor.m

index 4229184aa4ee9241182828f50328196472fc49eb..806a2df0706d2ac46f371770b6945c90d552b955 100644 (file)
@@ -1,3 +1,9 @@
+2005-02-02  Helge Hess  <helge.hess@opengroupware.org>
+
+       * WOHttpAdaptor/WOHttpAdaptor.m: allow WOPort bind addresses with IPs,
+         eg "192.168.0.1:7900", this was previously parsed incorrectly as
+         just the port, eg "7900" (which still works) (v4.5.110)
+
 2005-01-08  Helge Hess  <helge.hess@opengroupware.org>
 
        * Associations/WOKeyPathAssociation.m: fixed a type coercion issue on
index 32af9f8ddbe28caa6b18e9cb937ea220ccc00c25..213ddb80d459dab86ffe77c7bfd08d64ae628973 100644 (file)
@@ -1,6 +1,6 @@
 # version file
 
-SUBMINOR_VERSION:=109
+SUBMINOR_VERSION:=110
 
 # v4.5.91  requires libNGExtensions v4.5.134
 # v4.5.84  requires libNGExtensions v4.5.127
index 05ba7761b602b91c7cf16a6af0e3525383731e51..bcb5e20f83f3dfa044cfea980c6be8bacf391c70 100644 (file)
@@ -172,7 +172,7 @@ static BOOL     debugOn                      = NO;
         self->address = [self autoBindAddress];
       
       if ((self->address == nil) && ((cstr = [WOPort cString]) != NULL)) {
-        if (isdigit(*cstr)) {
+        if (isdigit(*cstr) && index(cstr, ':') == NULL) {
           NSNumber *p;
           
           p = [(WOCoreApplication *)[_application class] port];