Skip to content

Commit

Permalink
Merge pull request #38595 from nextcloud/remove-suhosin-check
Browse files Browse the repository at this point in the history
chore: remove check for suhosin.executor.func.blacklist
  • Loading branch information
kesselb authored Jun 2, 2023
2 parents 09c5f99 + 3d3c497 commit 2188505
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/public/Util.php
Original file line number Diff line number Diff line change
Expand Up @@ -596,11 +596,6 @@ public static function isFunctionEnabled(string $functionName): bool {
if (in_array($functionName, $disabled)) {
return false;
}
$disabled = explode(',', $ini->get('suhosin.executor.func.blacklist') ?: '');
$disabled = array_map('trim', $disabled);
if (in_array($functionName, $disabled)) {
return false;
}
return true;
}
}

0 comments on commit 2188505

Please sign in to comment.