php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #49910 no support for ././@LongLink for long filenames in phar tar support
Submitted: 2009-10-18 04:27 UTC Modified: 2018-02-04 16:39 UTC
Votes:6
Avg. Score:4.8 ± 0.4
Reproduced:4 of 4 (100.0%)
Same Version:4 (100.0%)
Same OS:3 (75.0%)
From: [email protected] Assigned: bishop (profile)
Status: Closed Package: PHAR related
PHP Version: 5.3SVN-2009-10-18 (SVN) OS: n/a
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: [email protected]
New email:
PHP Version: OS:

 

 [2009-10-18 04:27 UTC] [email protected]
Description:
------------
The arcane (and poorly documented) ././@LongLink method of storing long filenames is not supported by ext/phar.

The header stores the size of the filename, and the next block stores the filename itself.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-11-11 21:03 UTC] [email protected]
Automatic comment from SVN on behalf of cellog
Revision: http://svn.php.net/viewvc/?view=revision&revision=290527
Log: fix PHP Bug #49910: no support for ././@LongLink for long filenames in phar tar support
 [2009-11-12 03:53 UTC] [email protected]
read support enabled.  Will keep this open while I decide whether to also implement write support for filenames > 256 characters
 [2009-11-12 17:43 UTC] [email protected]
Automatic comment from SVN on behalf of johannes
Revision: http://svn.php.net/viewvc/?view=revision&revision=290601
Log: Merge 290527 (fix PHP Bug #49910: no support for ././@LongLink for long
filenames in phar tar support) (Greg)
 [2009-11-12 17:47 UTC] [email protected]
Automatic comment from SVN on behalf of davidc
Revision: http://svn.php.net/viewvc/?view=revision&revision=290606
Log: - MFH: Added test for bug 49910 for phar
 [2017-10-24 05:27 UTC] [email protected]
-Status: Assigned +Status: Open -Assigned To: cellog +Assigned To:
 [2018-02-04 16:39 UTC] [email protected]
-Status: Open +Status: Closed -Assigned To: +Assigned To: bishop
 [2018-02-04 16:39 UTC] [email protected]
Based on subsequent commits (including a test), a quick read of the code, and a description of the GNU tar[1] support, I believe this bug has been fixed. Please feel free to re-open if there is still work left to do.

[1]: https://stackoverflow.com/q/2078778/2908724
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jun 16 04:01:34 2025 UTC