[ 
https://issues.apache.org/jira/browse/COMPRESS-120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Torsten Curdt closed COMPRESS-120.
----------------------------------

    Resolution: Not A Problem

If you want to filter the names before extraction do so by wrapping the call to 
the name

  String safeName = filter(entry.getName())

IMO this is out of the scope of commons compress so closing this issue.

> forbidden chars on windows
> --------------------------
>
>                 Key: COMPRESS-120
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-120
>             Project: Commons Compress
>          Issue Type: Improvement
>          Components: Archivers
>    Affects Versions: 1.0
>         Environment: WindowsXP32bit
>            Reporter: Helmut Minst
>            Priority: Minor
>
> while uncompressing a tar archive, which includes files and directories 
> containing special characters like
> private char[] forbiddenCharsWindows = new char[] { ':', '*', '?', '"', '<', 
> '>', '|' }; the name of the tarEntry is corrupt
> and to create the directory or file is not possible. Exceptions occurs while 
> creating them.
> it would be better to replace them with '_'  instead to respond invalid 
> entrynames.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to