Hi list,
been a while since I wrote here, so I thought it was about time.

When sending a form with the POST method containing a > (a '>' sign but
anti-HTML-ized :) Rebol (or the webserver seem to convert it to a true '>'
sign. No matter what. Here's the code used to get the posted data:

--------------------------------------------
get-posted-data: func [{Gets data transferred via the POST method}]
[
content-length: 20 + load system/options/cgi/content-length ; content length
with a little to spare
read-io system/ports/input data: make string! content-length content-length
data: make object! decode-cgi data
]
--------------------------------------------

Is it the decode-cgi that's converting the character perhaps? Anyways,
'Piece of cake!' I hear you lot scream, just add a replace/all ">" ">" in
the script that get the post data. But there's a problem, it shouldn't
convert the '>' signs in for example <br> ... Why can't I just get to keep
my &gt; dammit?! ;-)

Thanks in advance

/Regards Stefan Falk
www.amigaextreme.com
-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to