You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
contain a file with the same name but with differing capitalization:
tar -tf v1.37.1 | grep hx
ace-builds-1.37.1/demo/kitchen-sink/docs/Haxe.hx
ace-builds-1.37.1/demo/kitchen-sink/docs/haxe.hx
Expected Behavior
The tar file should not contain two files with the same name and differing capitalization
Current Behavior
When you attempt to extract this file on file systems that are case preserving and case insensitive (for instance macOS), you get undefined behavior when extracting these tar files.
Generally, the later file in the manifest will override the earlier file, OR an error is thrown.
For instance, when extracting with PHPs extractTo() without allowing overwriting of files, you will have:
Error: Extraction from phar ".foreign/tmp/ace.tar" failed: Cannot extract "ace-builds-1.37.1/demo/kitchen-sink/docs/haxe.hx" to ".foreign/tmp/ace/ace-builds-1.37.1/demo/kitchen-sink/docs/haxe.hx", path already exists
but when using command line tar -xzvf, it will silenty overwrite.
Reproduction Steps
does not apply
Possible Solution
No response
Additional Information/Context
This seems to only happen for the ace-builds releases. The files inside the ace repo, the tar release of these files, only have ace-1.39.0/demo/kitchen-sink/docs/haxe.hx
Ace Version / Browser / OS / Keyboard layout
1.37.1, 1.39.0
The text was updated successfully, but these errors were encountered:
Describe the bug
I noticed that at least the releases:
contain a file with the same name but with differing capitalization:
Expected Behavior
The tar file should not contain two files with the same name and differing capitalization
Current Behavior
When you attempt to extract this file on file systems that are case preserving and case insensitive (for instance macOS), you get undefined behavior when extracting these tar files.
Generally, the later file in the manifest will override the earlier file, OR an error is thrown.
For instance, when extracting with PHPs extractTo() without allowing overwriting of files, you will have:
but when using command line tar -xzvf, it will silenty overwrite.
Reproduction Steps
does not apply
Possible Solution
No response
Additional Information/Context
This seems to only happen for the ace-builds releases. The files inside the ace repo, the tar release of these files, only have
ace-1.39.0/demo/kitchen-sink/docs/haxe.hx
Ace Version / Browser / OS / Keyboard layout
1.37.1, 1.39.0
The text was updated successfully, but these errors were encountered: