Bug #17477 [Opn->Fbk]: Windows directory not quoted in the $arg array of the SVN->run() method

From: Date: Wed, 09 Jun 2010 23:58:27 +0000
Subject: Bug #17477 [Opn->Fbk]: Windows directory not quoted in the $arg array of the SVN->run() method
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-3916@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=17477&edit=1 ID: 17477 Updated by: daniel.oconnor@gmail.com Reported By: slungo at 9online dot fr Summary: Windows directory not quoted in the $arg array of the SVN->run() method -Status: Open +Status: Feedback Type: Bug Package: VersionControl_SVN Operating System: Windows XP Pro Package Version: 0.3.3 PHP Version: 5.3.0 Roadmap Versions: New Comment: -Status: Open +Status: Feedback Thank you for taking the time to report a problem with the package. This problem may have been already fixed by a previous change that is in the SVN of the package. Please checking out the SVN repository of this package and upgrade svn checkout svn.php.net/repository/pear/packages/VersionControl_SVN/trunk pear upgrade package2.xml or pear upgrade package.xml If you are able to reproduce the bug with the latest SVN, please change the status back to "Open". Again, thank you for your continued support of PEAR. This was probably fixed by Bug #16892 svn checkout http://svn.php.net/repository/pear/packages/VersionControl_SVN/trunk/ pear upgrade -f package.xml ... and see if that fixes it Previous Comments: ------------------------------------------------------------------------ [2010-06-09 16:20:40] berthold0022 Description: ------------ I'm using phing and its SvnCheckoutTask and SvnUpdateTask to automate build operation, which are using VersionControl_SVN. As I'm working on windows using a path containing spaces, and as the current VersionControl_SVN::run() method doesn't quote the $args array elements when creating the $cmd, the command crashes because it can't resolve the path. For now I'have added a loop at the top of the run method to resolve it: foreach($args as $k=>$v) $args[$k] = escapeshellarg($v); Finally to make the command work, I'd to comment the line 654 of the SVN.php file. ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=17477&edit=1

« previous php.pear.bugs (#3916) next »