Bugs item #746072, was opened at 2003-05-30 08:05 Message generated for change (Comment added) made by duslow You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=746072&group_id=22866
Category: JBossWeb Group: v3.2 Status: Open Resolution: None Priority: 5 Submitted By: Dustin Barlow (duslow) Assigned to: Nobody/Anonymous (nobody) Summary: Corruption of large form post parameters Initial Comment: Attached to this post is an ear file which can be used to demonstrate the problem. The ear contains a simple servlet that is called on a form post via a jsp page. The url is http://localhost:9090/testjetty/ Here you will see a textarea that you can paste in text and submit the form to the servlet. The servlet in turn just echos back the size of the data posted and the data itself. Depending on what content you type in, you may not see anything returned in the browser, but you can view source to see the text if that is the case. For testing purposes, attached to this email is also test text data file I used to replicate the problem. It is called foo.txt and is stored inside foo.zip. Open this file in a text editor, copy the text, and then past it into the text area on the web form. At the very end of the file, there is a line that says "THIS IS THE END". The file character count is 139419, however when the servlet grabs the text via a request.getParameter() command, loads it into a string, and displays its size. The size returned is 141511 not 139419. If you view source on the web browser, the parameter text output is truncated (ie you don't see the line "THIS IS THE END"). It is instead padded with a large number of blank spaces (hex char 20) indicating something has gone wrong. This same test in JBoss 3.2.1 with Tomcat works fine. The threshold for when the corruption occurs seems to hover around 70-80K and higher. Anything lower then that works fine, and the servlet reports the correct String length as well. ---------------------------------------------------------------------- >Comment By: Dustin Barlow (duslow) Date: 2003-05-30 08:06 Message: Logged In: YES user_id=609000 Here is the EAR file. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=746072&group_id=22866 ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
