Bug #79315 [Opn->Asn]: ZipArchive::addFile don't hornor start/length parameters

From: Date: Fri, 28 Feb 2020 09:05:26 +0000
Subject: Bug #79315 [Opn->Asn]: ZipArchive::addFile don't hornor start/length parameters
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-225769@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79315&edit=1

 ID:                 79315
 Updated by:         remi@php.net
 Reported by:        remi@php.net
 Summary:            ZipArchive::addFile don't hornor start/length
                     parameters
-Status:             Open
+Status:             Assigned
 Type:               Bug
 Package:            Zip Related
 Operating System:   N/A
 PHP Version:        7.3.15
-Assigned To:        
+Assigned To:        remi
 Block user comment: N
 Private report:     N



Previous Comments:
------------------------------------------------------------------------
[2020-02-28 09:05:04] remi@php.net

Description:
------------
Full content of the file always added

Test script:
---------------
$zip->addFile('foo', 'mini.txt', 12, 34)


Expected result:
----------------
Partial content added

Actual result:
--------------
Full file added



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=79315&edit=1


Thread (5 messages)

« previous php.bugs (#225769) next »