Re: Apple, any slight update or estimation on WO 5.3.1, Please ??
Re: Apple, any slight update or estimation on WO 5.3.1, Please ??
- Subject: Re: Apple, any slight update or estimation on WO 5.3.1, Please ??
- From: Dev WO <email@hidden>
- Date: Wed, 14 Sep 2005 19:38:05 +0200
Hi David
I'm not sure I understand (or agree with) what Xavier is saying here.
.../wa/actionName?foo=bar&foobar=doo
is different to
../wa/actionName?foo=bar&foobar=doo.
In the first case there are two parameters (or form values), one
called foo and the other called foobar
with values "bar" and "doo". In the second case there is one
parameter "foo" with a value "bar&foobar=doo".
If you URL escape the ampersands between parameters then you are
effectively making them all one
value that gets associated with the first one.
Did I miss something?
Yes, according to rfc's when the -server- sends HTML to the client
then both examples are the same but the second one is 'more
correct' according to html spec. But when the client sends such a
request back to the server then the client should do this:
hyperlink's href attribute reads:
href="/cgi-bin/WebObjects/myApp.woa/wa/login?
username=david&password=teran"
is converted -before- sending the request to the server to
href="/cgi-bin/WebObjects/myApp.woa/wa/login?
username=david&password=teran"
this is how i read the definitions. So if one wants to send
something like this to the server:
href="/cgi-bin/WebObjects/myApp.woa/wa/login?
usernameAndPassword=david&teran"
one (WebObjects) would have send this as html fragment to the client:
href="/cgi-bin/WebObjects/myApp.woa/wa/login?
username=david&amp;password=teran"
Hm well, i have no idea if this really works but i will make a test
this night, just to check what a browser sends to the server...
regards Davi
In fact if you look at an hyperlink with either & or & it will
work the same, but the browser expect a & instead in hyperlink
because it refers to a URI/URL so it's not "passing parameters".
In a form it's & because it's passing parameters in the request, it's
not written in the (X)HTML code.
_______________________________________________
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: | |
| >Apple, any slight update or estimation on WO 5.3.1, Please ?? (From: Nathan Walker <email@hidden>) |
| >Re: Apple, any slight update or estimation on WO 5.3.1, Please ?? (From: Chuck Hill <email@hidden>) |
| >Re: Apple, any slight update or estimation on WO 5.3.1, Please ?? (From: Nico Rossi <email@hidden>) |
| >Re: Apple, any slight update or estimation on WO 5.3.1, Please ?? (From: David Teran <email@hidden>) |
| >Re: Apple, any slight update or estimation on WO 5.3.1, Please ?? (From: Dev WO <email@hidden>) |
| >Re: Apple, any slight update or estimation on WO 5.3.1, Please ?? (From: David Teran <email@hidden>) |
| >Re: Apple, any slight update or estimation on WO 5.3.1, Please ?? (From: Dev WO <email@hidden>) |
| >Re: Apple, any slight update or estimation on WO 5.3.1, Please ?? (From: David Teran <email@hidden>) |
| >Re: Apple, any slight update or estimation on WO 5.3.1, Please ?? (From: Alan Ward <email@hidden>) |
| >Re: Apple, any slight update or estimation on WO 5.3.1, Please ?? (From: David Teran <email@hidden>) |