Permalink
Browse files

Fix sanitizing password by installer

  • Loading branch information...
1 parent 7984f77 commit 4a64194c0b24c9dcb99a5528c31c26d09255b67c @c12simple c12simple committed on GitHub Sep 22, 2016
Showing with 2 additions and 2 deletions.
  1. +2 −2 core/src/core/src/pydio/Core/Utils/Vars/OptionsHelper.php
@@ -148,7 +148,7 @@ public static function parseStandardFormParameters(ContextInterface $ctx, &$repD
} else if ($type == "text/json") {
$value = json_decode($value, true);
}
- if (!in_array($type, array("textarea", "boolean", "text/json"))) {
+ if (!in_array($type, array("textarea", "boolean", "text/json", "password"))) {
$value = InputFilter::sanitize($value, InputFilter::SANITIZE_HTML);
}
unset($repDef[$key . "_ajxptype"]);
@@ -235,4 +235,4 @@ public static function cleanDibiDriverParameters($params)
}
return $params;
}
-}
+}

0 comments on commit 4a64194

Please sign in to comment.