After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 116812 - string_to_object does not raise exception for bad URL
string_to_object does not raise exception for bad URL
Status: RESOLVED FIXED
Product: ORBit2
Classification: Deprecated
Component: general
2.7.x
Other Linux
: Normal normal
: ---
Assigned To: ORBit maintainers
ORBit maintainers
Depends on:
Blocks:
 
 
Reported: 2003-07-06 11:20 UTC by Frank Rehberger
Modified: 2006-07-24 14:00 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
raise BAD_PARAM exception in case of invalid URL (844 bytes, patch)
2003-07-06 11:32 UTC, Frank Rehberger
none Details | Review
updated patch (1018 bytes, patch)
2006-07-24 13:58 UTC, Kjartan Maraas
none Details | Review

Description Frank Rehberger 2003-07-06 11:20:19 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.
Comment 1 Frank Rehberger 2003-07-06 11:32:55 UTC
Created attachment 18074 [details] [review]
raise BAD_PARAM exception in case of invalid URL
Comment 2 Michael Meeks 2003-07-07 08:20:42 UTC
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.
Comment 3 Kjartan Maraas 2006-07-24 13:58:31 UTC
Created attachment 69495 [details] [review]
updated patch

I updated the patch so it applies cleanly to the current source.
Comment 4 Kjartan Maraas 2006-07-24 14:00:20 UTC
Commited the updated version.