|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46132 rar extracts to "documents and settings" if no absolute path
Submitted: 2008-09-19 22:06 UTC Modified: 2008-09-20 16:55 UTC
From: jehy at valar dot ru Assigned:
Status: Not a bug Package: *Compression related
PHP Version: 5.2.6 OS: Windows XP
Private report: No CVE-ID: None
 [2008-09-19 22:06 UTC] jehy at valar dot ru
For some magical reasons, on windows, when you use relative path for extracting, rar extracts in "Documents and Settings\UserName"...


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-09-20 15:03 UTC] jehy at valar dot ru
Sorry, I was too tired to write a normal bug report...

Code example:
##opening,reading archive...
$entry = rar_entry_get($rar_file, $entry->name);#all ok
         echo 'Not extracted';#does not output

And the file extracts not to the current working directory but to "documents and settings/UserName" where UserName is my currently used username.
 [2008-09-20 16:55 UTC]
Please report rar bug in pecl:
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sat Feb 22 16:01:28 2020 UTC