|  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: jehy at valar dot ru
New email:
PHP Version: OS:


 [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-2019 The PHP Group
All rights reserved.
Last updated: Wed Aug 21 11:01:27 2019 UTC