• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
bug with WOContext.completeURLWithRequestHandlerKey
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: EOModeler JDBC connection help in Windows
  • Next by Date: Re: strange behaviour with items in WORepition
  • Previous by thread: Re: Using NSArray functions in WO
  • Next by thread: Re: bug with WOContext.completeURLWithRequestHandlerKey
  • Index(es):
    • Date
    • Thread