summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ed990e6)
raw | patch | inline | side by side (parent: ed990e6)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 27 Aug 2010 12:47:21 +0000 (12:47 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 27 Aug 2010 12:47:21 +0000 (12:47 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@19478 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/personal/password/class_password.inc | patch | blob | history |
diff --git a/gosa-core/plugins/personal/password/class_password.inc b/gosa-core/plugins/personal/password/class_password.inc
index b6bf8becfdab27508f01db6d62f09e14d86af945..cb3b43fcd3bffb6c1deb11d0a8ec06e577f71156 100644 (file)
/* Call external password quality hook ?*/
$check_hook = $this->config->get_cfg_value("passwordHook") != "";
- $hook = $this->config->get_cfg_value("passwordHook")." ".$ui->username." ".$current_password." ".$new_password;
+ $hook = $this->config->get_cfg_value("passwordHook")." ".
+ escapeshellarg($ui->username)." ".escapeshellarg($current_password)." ".escapeshellarg($new_password);
if($check_hook){
exec($hook,$resarr);
$check_hook_output = "";