Bug #48763 [Com]: ZipArchive produces corrupt OpenOffice.org files
| From: | l dot kneschke at metaways dot de | Date: | Tue, 11 May 2010 10:35:16 +0000 |
| Subject: | Bug #48763 [Com]: ZipArchive produces corrupt OpenOffice.org files | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-150323@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=48763&edit=1
ID: 48763
Comment by: l dot kneschke at metaways dot de
Reported by: dani dot church at gmail dot com
Summary: ZipArchive produces corrupt OpenOffice.org files
Status: Feedback
Type: Bug
Package: Zip Related
Operating System: CentOS 5
PHP Version: 5.2CVS-2009-07-01 (snap)
Assigned To: pajoye
New Comment:
Hm. I can't attach the working example. I'll place it on
http://lars.kneschke.de/downloads/testODS.tar.bz2
Lars
Previous Comments:
------------------------------------------------------------------------
[2010-05-11 12:26:00] l dot kneschke at metaways dot de
I just want to let you know that I can confirm that creating .ods files
is
working under windows. First it was not working for us under windows
too.
The main problem is, that .ods expects the internal name of the file(the
second
parameter of addFile) must have unix filesystem separators. When using
windows
filesystem separators the .ods zip archive is broken, even though
extracting the
archive is working.
I'll also attach working example.
Lars
------------------------------------------------------------------------
[2010-04-28 16:43:12] pajoye@php.net
Can you try using 5.3.2 or 5.2.13 please?
------------------------------------------------------------------------
[2010-02-01 21:12:56] headofsteam at gmx dot com
pajoye at php.net thanks for reopening.
Don't suppose there is a way to transfer in my comment from #50893 ?
Anyway, I have read through this report again and there may be a
difference other than the OS and version.
This report seems to be highlighting a problem in
ZipArchive::AddFromString() I have been using the IMO more useful
ZipArchive::AddFile() could that be significant.
------------------------------------------------------------------------
[2010-02-01 20:19:27] pajoye@php.net
reopen and assign to me.
------------------------------------------------------------------------
[2009-11-05 12:13:24] pajoye@php.net
Fixed in latest releases too.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/bug.php?id=48763
--
Edit this bug report at http://bugs.php.net/bug.php?id=48763&edit=1