[cmake-developers] [CMake 0015891]: CMake extracts non-standard filenames incorrectly from tarballs
Mantis Bug Tracker
mantis at public.kitware.com
Mon Dec 21 15:21:33 EST 2015
The following issue has been SUBMITTED.
======================================================================
https://public.kitware.com/Bug/view.php?id=15891
======================================================================
Reported By: Ben Boeckel
Assigned To:
======================================================================
Project: CMake
Issue ID: 15891
Category: CMake
Reproducibility: have not tried
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2015-12-21 15:21 EST
Last Modified: 2015-12-21 15:21 EST
======================================================================
Summary: CMake extracts non-standard filenames incorrectly
from tarballs
Description:
Attached is a tarball which contains a file "Appendix A \xc2\xa0 An Introduction
to Preprocessor Metaprogramming.html" (the hex is a UTF-8 non-breaking-space).
"cmake -E tar xzf" will extract the file improperly, mangling it. CMake can then
not delete the mangled file.
Using msys2's (from git-bash) to extract the tarball works as expected (the
filename looks fine and cmake can delete it).
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2015-12-21 15:21 Ben Boeckel New Issue
2015-12-21 15:21 Ben Boeckel File Added: bad-filename.tar.gz
======================================================================
More information about the cmake-developers
mailing list