Skip to content

Commit

Permalink
Merge pull request #663 from owncloud/fix_password_strip
Browse files Browse the repository at this point in the history
Just strip "low" chars, but don't do anything else
  • Loading branch information
jnweiger committed Jul 15, 2021
2 parents 259b742 + 86942f3 commit 3bef0cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public function setConfiguration($config, &$applied = null) {
$setMethod = 'setValue';
switch ($key) {
case 'ldapAgentPassword':
$val = \filter_var($val, FILTER_SANITIZE_STRING, FILTER_FLAG_STRIP_LOW);
$val = \filter_var($val, FILTER_UNSAFE_RAW, FILTER_FLAG_STRIP_LOW);
$setMethod = 'setRawValue';
break;
case 'homeFolderNamingRule':
Expand Down

0 comments on commit 3bef0cb

Please sign in to comment.