W3C home > Mailing lists > Public > www-html@w3.org > December 1998

&-separator from a form

From: Taco IJsselmuiden <taco@ch.twi.tudelft.nl>
Date: Tue, 22 Dec 1998 21:50:18 +0100 (CET)
To: www-html@w3.org
Message-ID: <Pine.LNX.3.96.981222214956.17798K-100000@ch.twi.tudelft.nl>
Hi, 

Is there any way to define the separator (&) used when using a form ??
(i.e.: 
<form action=cgi.cgi method=get>
<input type=text name=one value="something">
<input type=text name=two value="another thing">
<input type=submit value="submit">
</form>

would result in this url:
http://..../cgi-bin/cgi.cgi?one=something&two=another+thing
)

The problem with this is, that & has a special meaning in HTML, so using
such an URL in a HTML-page is not perfect.
I could use (i.e.) ; as a separator in the HTML-page, but still most UA's
use & when data is submitted trough a form. That's not very practical,
having two different separators.

Greetings,
Taco.
Received on Tuesday, 22 December 1998 15:47:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:38 GMT