Re: web objects 5.4.2 URL parsing errors
Re: web objects 5.4.2 URL parsing errors
- Subject: Re: web objects 5.4.2 URL parsing errors
- From: David LeBer <email@hidden>
- Date: Wed, 30 Jul 2008 10:17:17 -0400
On 30-Jul-08, at 9:48 AM, Sherry Tirko wrote:
Hi David,
Thanks for your response. This is not the problem we are seeing. The
url looks fine when it comes back to us, but when we try to pull the
form values out of the url, the first key gets set to the complete
value string and all others get set to null. It looks like the
parsing of the key/value pairs in the url is not working correctly.
Sherry
I'm posting this back to the list.
I'm not using WO 5.4.x yet. What happens if you call
request().formValues() do you get a properly formed dictionary?
If you can create a stripped down test case that demonstrates the
issue, I'd file it as a bug.
On Jul 28, 2008, at 5:10 PM, Mersida Kurti wrote:
seems like what we're seeing is a bug that started appearing with
WO 5.3 and has not gone away in 5.4....there's a link that this guy
has posted, see below
~Mersida
--- On Mon, 7/28/08, David LeBer <email@hidden> wrote:
From: David LeBer <email@hidden>
Subject: Re: web objects 5.4.2 URL parsing errors
To: "Mersida Kurti" <email@hidden>
Cc: "WebObjects Dev" <email@hidden>
Date: Monday, July 28, 2008, 4:36 PM
On 28-Jul-08, at 4:06 PM, Mersida Kurti wrote:
> Hi everyone,
>
> I hope someone can help me with this problem:
>
> I currently am running on Tiger, Java 1.5. and WebObjects
5.2.4and I
> have
a URL which it parses info from after each &
>
> Now that I've switched to Leopard, Java 1.5, WO 5.4.2, it is not
> parsing that string at all, it returns it all back....seems like it
> does not recognize the ampersands or something.
>
> i.e:
www.test.com/cgi-bin/WebObjects/Test.woa/wa/return?arg1=9898988&arg2=something
> request().formValueForKey("arg1"); will returns
> "9898988&arg2=something" arg2 returns null.
Are you seeing some flavour of this: <http://davidleber.net/?p=191> ?
;david
--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: http://codeferous.com
blog: http://davidleber.net
profile: http://www.linkedin.com/in/davidleber
twitter: http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org
;david
--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: http://codeferous.com
blog: http://davidleber.net
profile: http://www.linkedin.com/in/davidleber
twitter: http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org
_______________________________________________
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