You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Peter Lee (Jira)" <ji...@apache.org> on 2020/04/14 03:00:06 UTC
[jira] [Updated] (COMPRESS-509) The ambiguous behavior of the
TarArchiveEntry.getName() method
[ https://issues.apache.org/jira/browse/COMPRESS-509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Lee updated COMPRESS-509:
-------------------------------
Assignee: Peter Lee
> The ambiguous behavior of the TarArchiveEntry.getName() method
> --------------------------------------------------------------
>
> Key: COMPRESS-509
> URL: https://issues.apache.org/jira/browse/COMPRESS-509
> Project: Commons Compress
> Issue Type: Bug
> Components: Archivers
> Affects Versions: 1.18, 1.20
> Reporter: Petr Vasak
> Assignee: Peter Lee
> Priority: Minor
> Attachments: Main.java
>
>
> Scenario: To tar an empty directory and then to untar it. When the name is longer than 100 characters, no ending slash appears.
> Example: see attachment
> Part of the output:
> ..
> dir/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/
> dir/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/
> dir/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
> dir/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
> ..
--
This message was sent by Atlassian Jira
(v8.3.4#803005)