Message5465
Java.io.InputStreams are binary streams, containing bytes. They are used, among other things, for delivering POST data to java servlets, through a ServletInputStream. As such, there should be no line-ending translation on such InputStreams, since they are byte oriented.
But when wrapping an InputStream with a PyFile, through the use of org.python.core.util.FileUtil.wrap(inputstream), line-ending translation takes place. See attached java code which illustrates the issue.
This may only be happening on Windows, where "\r\n" is the standard line ending.
This issue appears to affecting processing of servlet POST data, which by web standards is separated with "\r\n". Again, this may only be happening on Windows. |
|
Date |
User |
Action |
Args |
2010-01-29 16:40:42 | amak | set | recipients:
+ amak |
2010-01-29 16:40:42 | amak | set | messageid: <1264783242.11.0.196606388077.issue1549@psf.upfronthosting.co.za> |
2010-01-29 16:40:41 | amak | link | issue1549 messages |
2010-01-29 16:40:40 | amak | create | |
|