Jarkko(_dot_)Moilanen(_at_)uta(_dot_)fi wrote:
Hi!
I am getting data from html form, which has text input fields.
I pass the QUERY_STRING to sh script which turns it in to
XML. Then I transform the XML to html with XSLT.
Problem is how ever that the browser generates %20 to every
empty space.
This is correct: the space is a prohibited character in the MIME
Content Type used for sending data from forms to a server because
when it is sent with a GET instead of a POST, it is transmitted
as part of the URL, where a space can break the action of the
browser or the server.
You need to run a program like uncgi on the server, which
(a) automatically translates urlencoded data back to normal text;
(b) splits up QUERY_STRING into your named fields, prefixed with
WWW_
Also consider using POST instead of GET if you're not already doing so.
///Peter
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list