+2006-08-03 Wolfgang Sourdeau <WSourdeau@Inverse.CA>
+
+ * WebDAV/SoWebDAVRenderer.m: added special handling for 0-port values
+ in URLs (v4.5.242)
+
2006-07-25 Marcus Mueller <znek@mulle-kybernetik.com>
* Templates/WODParser.m: fixed an infinite loop bug during comment
if ((tmp = [rq headerForKey:@"x-webobjects-server-name"])) {
hostport = tmp;
- if ((tmp = [rq headerForKey:@"x-webobjects-server-port"]))
- hostport = [NSString stringWithFormat:@"%@:%@", hostport, tmp];
+ if ((tmp = [rq headerForKey:@"x-webobjects-server-port"]) != nil) {
+ if ([tmp intValue] > 0)
+ hostport = [NSString stringWithFormat:@"%@:%@", hostport, tmp];
+ else {
+ [self logWithFormat:@"got bogus port information from webserver: %@",
+ hostport];
+ }
+ }
}
else if ((tmp = [rq headerForKey:@"host"]))
hostport = tmp;