From 188e60eedbcc6fd9ada0cabcc23e4f5b38c8ff4a Mon Sep 17 00:00:00 2001 From: helge Date: Wed, 2 Feb 2005 02:23:30 +0000 Subject: [PATCH] patched to allow IP addresses in WOPort git-svn-id: http://svn.opengroupware.org/SOPE/trunk@537 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- sope-appserver/NGObjWeb/ChangeLog | 6 ++++++ sope-appserver/NGObjWeb/Version | 2 +- sope-appserver/NGObjWeb/WOHttpAdaptor/WOHttpAdaptor.m | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/sope-appserver/NGObjWeb/ChangeLog b/sope-appserver/NGObjWeb/ChangeLog index 4229184a..806a2df0 100644 --- a/sope-appserver/NGObjWeb/ChangeLog +++ b/sope-appserver/NGObjWeb/ChangeLog @@ -1,3 +1,9 @@ +2005-02-02 Helge Hess + + * 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 * Associations/WOKeyPathAssociation.m: fixed a type coercion issue on diff --git a/sope-appserver/NGObjWeb/Version b/sope-appserver/NGObjWeb/Version index 32af9f8d..213ddb80 100644 --- a/sope-appserver/NGObjWeb/Version +++ b/sope-appserver/NGObjWeb/Version @@ -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 diff --git a/sope-appserver/NGObjWeb/WOHttpAdaptor/WOHttpAdaptor.m b/sope-appserver/NGObjWeb/WOHttpAdaptor/WOHttpAdaptor.m index 05ba7761..bcb5e20f 100644 --- a/sope-appserver/NGObjWeb/WOHttpAdaptor/WOHttpAdaptor.m +++ b/sope-appserver/NGObjWeb/WOHttpAdaptor/WOHttpAdaptor.m @@ -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]; -- 2.39.5