Summary: | value is trimmed when sending the request in Multipart | ||
---|---|---|---|
Product: | JMeter - Now in Github | Reporter: | Kanagamahendran Velusamy <kvelusamy> |
Component: | HTTP | Assignee: | JMeter issues mailing list <issues> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | kvelusamy |
Priority: | P2 | ||
Version: | 2.4 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Linux |
Description
Kanagamahendran Velusamy
2010-12-01 10:51:07 UTC
Thanks! I agree, there is a problem with the parsing of values - it should only strip the initial blank line and the trailing EOL. BTW, I'm not quite sure why the code allows for "\n\n" (LFLF); AFAIK, CRLF is the only permitted EOL marker. However I think that option should be kept for now. I've just tried to generate form data with trailing spaces in browsers, but IE, FF and Opera all convert trailing spaces to +. So what user agent caused the problem for you? Keep the form as multipart so that it will be sent as it is I used FF. (In reply to comment #2) > I've just tried to generate form data with trailing spaces in browsers, but IE, > FF and Opera all convert trailing spaces to +. > > So what user agent caused the problem for you? Thanks! I'd not specified the enctype. Adding enctype="multipart/form-data" now works with FF. Fixed in SVN: URL: http://svn.apache.org/viewvc?rev=1041406&view=rev Log: Bug 50392 - value is trimmed when sending the request in Multipart Modified: jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/config/MultipartUrlConfig.java jakarta/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/config/MultipartUrlConfigTest.java jakarta/jmeter/trunk/xdocs/changes.xml Thank you .You are Amazing!. This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2433 |