commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: [compress] AR docs confusion
Date Wed, 03 Jan 2018 15:35:06 GMT
On 3 January 2018 at 13:34, Torsten Curdt <tcurdt@vafer.org> wrote:
...

> I got one more thing... :)
> I just found a new issue with compress.
> It's the "normalizeFileName" in TarArchiveEntry again. On Windows it just
> strips the drive letter
>
>
> https://github.com/apache/commons-compress/blob/master/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java#L1337
>
> which I think is a questionable default behaviour IMO.
>
>   TarArchiveEntry("C:\foo\bar") -> "/foo/bar"
>   TarArchiveEntry("D:\foo\bar") -> "/foo/bar"
>
> Is that in line with how other unix tool ports handle things on windows?

Please use a separate email (with new subject) for different questions.

> cheers,
> Torsten

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message