Limitations of posting a form

Chris Gregors gregors at edo032pc.pipe.nova.ca
Thu May 4 12:42:42 PDT 1995


Christian Neuss <neuss at igd.fhg.de> wrote:

> Don't do this. URL encoding never was meant for ~80K. Besides, just
> think what it does to the logfile. Use METHOD=POST instead, it's
> really fairly easy. Instead of URL encoding forms data, it just
> sends them via stdin to the CGI script.

Actually thats what I did to cause it to crash. Here's the form I wrote:

	<HTML>
	<HEAD><!-- OWNER_NAME="Chris Gregors" --></HEAD>
	<BODY>
	Unfortunately, this won't work as expected. I've left it
	in so that you can at least view the real bootptab
	<br>
	<form action="/cgi-bin/test-cgi" method=POST>
	<br>
	<textarea name="stuff" rows=30 cols=90>
	<!--#exec cmd="cat /etc/hosts"-->
	</textarea>
	<input type="submit">
	<input type="reset">
	<br>
	</form>
	</BODY>
	</HTML>

Try it on a NSCA server. Substitute the /etc/hosts with some  
suitablely large file and once OmniWeb brings it up, click on  
submit.

I've found that it will work if the data is not greater than 3-5kb



More information about the OmniWeb-l mailing list