Skip to content

Commit

Permalink
3.0.7
Browse files Browse the repository at this point in the history
Fix for #3699
  • Loading branch information
nilsteampassnet committed May 4, 2023
1 parent 31421cf commit fc0edc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sources/admin.queries.php
Expand Up @@ -2687,7 +2687,7 @@
);

// prepare data
$post_value = filter_var($dataReceived['value'], FILTER_SANITIZE_FULL_SPECIAL_CHARS);
$post_value = filter_var($dataReceived['value'], FILTER_SANITIZE_STRING, FILTER_FLAG_NO_ENCODE_QUOTES);
$post_field = filter_var($dataReceived['field'], FILTER_SANITIZE_FULL_SPECIAL_CHARS);

require_once 'main.functions.php';
Expand Down
2 changes: 1 addition & 1 deletion sources/ldap.queries.php
Expand Up @@ -137,7 +137,7 @@

// prepare variables
$post_username = filter_var($dataReceived['username'], FILTER_SANITIZE_FULL_SPECIAL_CHARS);
$post_password = filter_var($dataReceived['password'], FILTER_SANITIZE_FULL_SPECIAL_CHARS);
$post_password = filter_var($dataReceived['password'], FILTER_SANITIZE_STRING, FILTER_FLAG_NO_ENCODE_QUOTES);

// Build ldap configuration array
$config = [
Expand Down

0 comments on commit fc0edc8

Please sign in to comment.