|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #74196 PharData->decompress() does not correctly support dot names
Submitted: 2017-03-02 10:26 UTC Modified: 2020-12-09 16:25 UTC
Avg. Score:3.2 ± 1.0
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: samuel dot chemla at orange dot com Assigned: cmb (profile)
Status: Closed Package: PHAR related
PHP Version: 7.0.16 OS: Windows & Linux
Private report: No CVE-ID: None
 [2017-03-02 10:26 UTC] samuel dot chemla at orange dot com

the following test script was tested with same results on PHP 5.6.30 and on PHP7.0.14

Test script:
$p = new \PharData('1.0.0.tar.bz2');

Expected result:
The uncompressed file name should be 1.0.0.tar

Actual result:
It will produce an uncompressed tar file with name 1.tar


Add a Patch

Pull Requests

Pull requests:

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-03-02 10:33 UTC]
-Status: Open +Status: Analyzed -Package: *Compression related +Package: PHAR related -PHP Version: 5.6.30 +PHP Version: 7.0.16
 [2017-03-02 10:33 UTC]

Note that PHP 5.6 is out of active support so it may not receive this fix.
 [2020-12-09 16:25 UTC]
-Status: Analyzed +Status: Closed -Assigned To: +Assigned To: cmb
 [2020-12-09 16:25 UTC]
This is fixed as of PHP 7.2.0.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Jul 18 21:01:27 2024 UTC