I do not see how skipping the drive letter on Windows is not normalizing,
it is _moving_.... sounds like a bug to me.

Gary

On Wed, Jan 3, 2018 at 8:46 AM, Torsten Curdt <tcu...@vafer.org> wrote:

> 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?
>
> cheers,
> Torsten
>
> PS: Just for you sebb ;)
>

Reply via email to