SID-00726: Uploaded attachments have an extra byte appended to file
| Status: |
Answered |
TWiki version: |
4.2.1 |
Perl version: |
5.8.5 |
| Category: |
CategoryAttachments |
Server OS: |
RedHat Enterprise Linux ES 4 |
Last update: |
15 years ago |
Files attached to our jazz.net wiki are coming back corrupted, with an extra newline character added to the end. Many programs are tolerant of this extra byte, but some (like Java) are not.
When we attach ZIP files to a wiki page, an extra byte is appended to the file at the end: 0x0A
I was going to report a bug, but it wouldn't let me log in there.
--
SethPackham - 2010-01-21
Discussion and Answer
On bug report issue, the twiki.org bug tracker login works after one hour of registration on twiki.org.
...later: Ah, I see that in the mean time you filed
TWikibug:Item6387
.
Not sure what causes this issue. Time to study attachment code and debug.
--
PeterThoeny - 2010-01-23
The issue does not exist in latest version of TWiki -please try a new version.
If you want to stick to the old version - please let me know (update the bug) -i can provide the patch.
--
SopanShewale - 2010-02-05
Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the
TWiki consultants if you need timely help. We invite you to
get involved with the community, it is more likely you get community support if you support the open source project!
--
PeterThoeny - 2010-04-05
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.