GNOME Bugzilla – Bug 116812
string_to_object does not raise exception for bad URL
Last modified: 2006-07-24 14:00:20 UTC
corba-orb.c (string_to_object): if orb_http_resolve does not succeed, string_to_object returns with OBJECT_NIL only. I would expect string_to_object raises BAD_PARAM exception in case of invalid HTTP location.
Created attachment 18074 [details] [review] raise BAD_PARAM exception in case of invalid URL
Looks fine; NB. in 99.5% of builds we disable the http code - indeed - I'd like to bin that code from ORBit2, since it's truly ugly.
Created attachment 69495 [details] [review] updated patch I updated the patch so it applies cleanly to the current source.
Commited the updated version.