Permalink
Browse files

security issue fixed

  • Loading branch information...
1 parent c1b2f7a commit 59b0bf71280afcf1ec69b0c41e80442f4ff4ea00 @KuiKui committed Jun 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 apps/admin/modules/default/actions/projectDeleteAction.class.php
@@ -29,7 +29,7 @@ public function execute($request)
$repository->delete($con);
if(is_dir($gitDir))
{
- exec('rm -rf '.$gitDir);
+ exec('rm -rf '.escapeshellarg($gitDir));
}
}
$con->commit();

0 comments on commit 59b0bf7

Please sign in to comment.