• 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: more pubcookie wo
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: more pubcookie wo


  • Subject: Re: more pubcookie wo
  • From: Chuck Hill <email@hidden>
  • Date: Tue, 15 Sep 2009 11:45:29 -0700


On Sep 15, 2009, at 10:53 AM, Gordon Belray wrote:

Hey again,

We have a directAction that is protected by the pubcookie module, we have tried using <Location /cgi-bin/WebObjects/MyApp.woa/wa/ directActionName >

and <LocationMatch "directActionName">

When we use a submit button within a form bound to a a directAction we get this:

Error message: "Invalid POST data. (POST data length: 0)"


That message is coming from WO? Is PubCookie stripping off the post data?


Chuck


But if we use the directAction in the URL it works.

The directAction is just returning a WOComponent that will read a header variable.

There is nothing in either the apache2 access_log or error_log for the POST data error but refreshing the browser window works with this output:

142.150.195.106 - - [15/Sep/2009:13:45:18 -0400] "POST / PubCookie.reply HTTP/1.1" 302 336
142.150.195.106 - utoridValue [15/Sep/2009:13:45:18 -0400] "GET /cgi- bin/WebObjects/MyMedia.woa/wa/utorauth HTTP/1.1" 200 1960


Thanks,
Gordon


Gordon Belray Application Programmer Information Technology Services University of Toronto Libraries email@hidden 416-946-8617 w 416-427-7007 m



_______________________________________________
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

_______________________________________________ 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: 
 >more pubcookie wo (From: Gordon Belray <email@hidden>)

  • Prev by Date: Re: WebObjects become opensource ?
  • Next by Date: Re: WebObjects become opensource ?
  • Previous by thread: more pubcookie wo
  • Next by thread: 2009 surveys are up
  • Index(es):
    • Date
    • Thread