I noticed that tar-stream removes the leading slash on long paths.
The problem is the splitting into name and prefix in headers.js. There a leading slash is dropped, because of line 208 where essentially prefix = '' + name.slice(0,0) is called which still is an empty string, but the first char is also dropped in name name = name.slice(0 + 1)
I can do a PR, just wanted to know if there is any specific reason for this or if it is just a bug.
I noticed that tar-stream removes the leading slash on long paths.
The problem is the splitting into name and prefix in headers.js. There a leading slash is dropped, because of line 208 where essentially
prefix = '' + name.slice(0,0)
is called which still is an empty string, but the first char is also dropped in namename = name.slice(0 + 1)
I can do a PR, just wanted to know if there is any specific reason for this or if it is just a bug.