>Number: 5351 >Category: mod_jserv >Synopsis: multipart/form-data missing a trailing line feed >Confidential: no >Severity: critical >Priority: medium >Responsible: jserv >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Mon Nov 22 12:10:01 PST 1999 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: Apache 1.3.9 Win32 + Apache Jserv 1.1b3 >Environment: Windows, JDK 1.1.8 >Description: We use a several that excepts multipart/form-data which is basicly used for uploading files to the system. The code is hanging up a readLine from the input stream into a buffer. I assume it is hanging because it does not see a carriage return not does it see the end of stream. Eventually the call times out or something, but it takes an awefully long time. If we back off to version 1.0 of Apache Jserv the problem goes away. After looking at the lines as they are read in it appears that all the fields of the form are getting posted. I think it is the closing line of the post format that is missing the line feed. >How-To-Repeat: Compare the post data from a form with multipart/form-data when submitted to an Apache Jserv 1.0 servlet as opposed to an Apache Jserv 1.1 servlet and see why the difference are appearing >Fix: No >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include <[EMAIL PROTECTED]> in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]