bug with WOContext.completeURLWithRequestHandlerKey
bug with WOContext.completeURLWithRequestHandlerKey
- Subject: bug with WOContext.completeURLWithRequestHandlerKey
- From: Jonathan Rochkind <email@hidden>
- Date: Thu, 11 Sep 2003 13:19:38 -0500
The WOContext.completeURLWithRequestHandlerKey method is sometimes
returning an improper URL for me.
I call it during appendToResponse on a page returned by the initial app
entry point, and it returns a more or less proper URL of the form:
http://[numericalIPAddress]/cgi-bin/WebObjects/[AppName].woa/[Instance
#]/[request handler key]
Don't know why it's using the numerical IP address there.
But when I call it on subsequent pages, it returns a completley invalid IP
of the form:
http://[unqualified hostname]:[port
#]/cgi-bin/WebObjects/[AppName].woa/[Instance #]/[request handler key]
The unqualified hostname doesn't work, of course, and the port # is
improper, since this is an app with direct connect turned off, deployed
through the web server.
Has anyone else encountered this? It's easy enough to work around, I just
write my own version of completeURLWithRequestHandlerKey, no problem. But
I don't want to spend the time to experimentally understand exactly what
conditions cause this bug, and I'm afraid that's what Apple will ask for if
I report it. Sigh.
--Jonathan
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.