DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=17661>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=17661 Truncated POST-String by more than 8000 chars ------- Additional Comments From [EMAIL PROTECTED] 2004-05-12 10:45 ------- I have the same problem using Apache httpd-2.0.45 on HPUX 11.11. Post requests are truncated by apache if the were send to a cgi script. You can easily reproduce this problem with the following cgi script and html page by posting a text longer than 8000 characters. The reported "Content length" and "Data length" differs. post.html ========= <HTML><HEAD></HEAD> <BODY> <form action="http://localhost/cgi-bin/testpost.pl" method="POST"> <textarea name="review" cols=100 rows=40></textarea> <input type="submit" value="Publish"> </form> </BODY></HTML> cgi-bin/testpost.pl =================== #!perl use CGI; print "Content-type: text/html\n\n"; print "<html>\n"; print "<head>\n"; print "<title>TestCgi\n"; print "</title>\n"; print "</head>\n"; print "<body>\n"; print "<pre>\n"; read (STDIN, $in, $ENV{'CONTENT_LENGTH'}); print "REQUEST_METHOD: $ENV{'REQUEST_METHOD'}\n"; print "Content Length: $ENV{'CONTENT_LENGTH'}\n\n<P>\n"; print "Data Input: $in\n\n<P>\n"; print "Data Length: ", length $in; print "</pre>\n"; print "</body>\n"; print "</html>"; exit; --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
