Support Request #100835, was updated on 2002-May-01 12:13
You can respond by visiting:
http://savannah.gnu.org/support/?func=detailsupport&support_id=100835&group_id=99
Category: Foundation
Status: Open
Priority: 5
Summary: NSURLHandle doesn't return correct class
By: lcampbel
Date: 2002-May-01 12:13
Message:
Logged In: NO
Browser: Mozilla/4.5 (compatible; OmniWeb/4.1-v391; Mac_PowerPC)
+[NSURLHandle URLHandleClassForURL] doesn't return the correct class. It's supposed to
+return the most recently registered class that says it can handle the URL but instead
+returns the earliest registered class that can handle it -- a break is missing from
+the loop.
Here's the fix, to NSURLHandle.m:
==== //projects/shared/gnustep-base-1.1.0/akamai/gnustep-base/Source/NSURLHandle.m#1 -
/common/u0/lcampbel/build/358/akamai/gnustep-base/Source/NSURLHandle.m ====
@@ -137,6 +137,7 @@
if ([found canInitWithURL: url] == YES)
{
c = (Class)found;
+ break;
}
}
}
----------------------------------------------------------------------
You can respond by visiting:
http://savannah.gnu.org/support/?func=detailsupport&support_id=100835&group_id=99
_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep