Re: WebObjects 5.3.1 Redirect bug?
Re: WebObjects 5.3.1 Redirect bug?
- Subject: Re: WebObjects 5.3.1 Redirect bug?
- From: Lachlan Deck <email@hidden>
- Date: Wed, 16 Nov 2005 11:45:59 +1100
Hi there,
On 16/11/2005, at 10:12 AM, Dev WO wrote:
I filled the bug you mentioned and yes it has been fixed:
an hyperlink must have its & escaped to & and it is now working
correctly (again as it was working fine in 5.2.2 and earlier).
This *fix* might be the cause of the new problem...
David, I don't understand exactly what you are looking for in fact,
if I understand well you're saying that when trying to parse a url
to get to it's "keys", WO can't do it anymore?
Correct.
On 16/11/2005, at 7:03 AM, David LeBer wrote:
I'm playing with WebObjects 5.3.1 and I'm seeing an oddity in
WORedirect:
<...>
WO is encoding the ampersands in the url into & but then it
is not respecting the encoding when it extracts the values again
(leaving the munged dictionary keys). I'm hoping there is
something stupid I am doing here and this is not a bug. If anyone
can confirm or negate my results I'd be grateful.
Confirmed (See below).
I seem to recall reading something about this ampersand bug being
fixed in the 5.3.1 release notes - but I can't find the release
notes anymore. i.e., they've disappeared from http://
docs.info.apple.com/article.html?artnum=302797
public WOActionResults defaultAction() {
NSLog.out.appendln( "Post: " + request().formValues() );
NSLog.out.appendln( "Keys: " + request().formValueKeys() );
return pageWithName("Main");
}
Pre: {valueZero = "Zero"; valueTwo = "Two"; valueOne = "1"; }
URL: /cgi-bin/WebObjects/TestRedirect.woa/-50628/wa/default?
valueZero=Zero&valueTwo=Two&valueOne=1&wosid=LDHjmeMHbkGCQGR
noremEw
Post: {valueZero = ("Zero"); amp;valueTwo = ("Two"); amp;valueOne =
("1"); amp;wosid = ("LDHjmeMHbkGCQGRnoremEw"); }
Keys: ("valueZero", "amp;valueTwo", "amp;valueOne", "amp;wosid")
Ouch... are you going to file the bug David?
with regards,
--
Lachlan Deck
_______________________________________________
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