From: hickert Date: Thu, 9 Sep 2010 13:36:11 +0000 (+0000) Subject: We do not need to escape check hook commands X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=90b68a2bf0450a3c997a9f6fd8a45f1e47d2eb5d;p=gosa.git We do not need to escape check hook commands git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19588 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/html/password.php b/gosa-core/html/password.php index fc5fe83af..0b93bf955 100644 --- a/gosa-core/html/password.php +++ b/gosa-core/html/password.php @@ -273,8 +273,8 @@ if ($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['apply'])) { // Call external check hook to validate the password change if(!count($message)){ $attrs = array(); - $attrs['current_password'] = escapeshellarg($current_password); - $attrs['new_password'] = escapeshellarg($new_password); + $attrs['current_password'] = ($current_password); + $attrs['new_password'] = ($new_password); $checkRes = password::callCheckHook($config,$ui->dn,$attrs); if(count($checkRes)){ $message[] = sprintf(_("Check-hook reported a problem: %s. Password change canceled!"),implode($checkRes));