PHP Pear incorrectly handles backslashes in file names when using Archive/Tar.php

Solution In Progress - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content