PHP Pear incorrectly handles backslashes in file names when using Archive/Tar.php
Issue
When using Archive/Tar.php from the php-pear package, if a file contains backslashes the are translated to forward slashes when put in a tar archive. So when this tar archive is unpacked it created many subdirectories. As this is not intended behaviour, how can this be fixed?
Environment
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.