• 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
Re: directActionURLForActionNamed() generating complete URLs under WO 5.4.3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: directActionURLForActionNamed() generating complete URLs under WO 5.4.3


  • Subject: Re: directActionURLForActionNamed() generating complete URLs under WO 5.4.3
  • From: Andrew Lindesay <email@hidden>
  • Date: Tue, 5 May 2009 13:37:36 +1200

Hello Ricardo;

I think my problems (6.July and probably WO 5.4.2) regarding those tables were;

I was a surprised to see secure (G) URL's reverting from HTTPS to HTTP.
In the case of (B), I was also surprised that the explicitly supplied instance number is ignored for all but the development instance case?


Perhaps I was able to work around this issue, but I don't have any notes at hand on that sorry.

cheers.

According to that chart, I see that WO 5.4.3 is generating complete URLs for directActionURLForActionNamed(String,NSDictionary) when Secure is Y, i.e.

http://server/cgi-bin/WebObjects/UT.woa/1/wa/default?a=b&wosid=3bmlqBLMVGzjmuW1wTPTZw

And I believe that's our case because in production the app is accessed via https. But why would the direct action URL not have the https prefix too??
Is this a bug or is this on purpose.


Also, the server for our application is www.mpv.com but for some reason it's generating a different server name (web1-bu).
In trying to find out where the server name is coming from I discovered the server_name HTTP request header with a value of web1- bu which matches
the server name being used by WebObjects in the direct action URL generation.


I'm gonna try to play with the properties that Chuck suggested to see if I can have WO generate the right server name. But does anybody know who sets the
server_name header in the HTTP request?

___ Andrew Lindesay www.lindesay.co.nz

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >directActionURLForActionNamed() generating complete URLs under WO 5.4.3 (From: "Ricardo J. Parada" <email@hidden>)
 >Re: directActionURLForActionNamed() generating complete URLs under WO 5.4.3 (From: Andrew Lindesay <email@hidden>)

  • Prev by Date: Re: What is the connection between the WO and the java file?
  • Next by Date: Wonder Integration on Existing XCode project failed
  • Previous by thread: Re: directActionURLForActionNamed() generating complete URLs under WO 5.4.3
  • Next by thread: Re: What is the connection between the WO and the java file?
  • Index(es):
    • Date
    • Thread