mirror of
https://github.com/vrana/adminer.git
synced 2025-08-11 17:14:07 +02:00
Increase limit for using MD5 in select
This commit is contained in:
@@ -335,7 +335,7 @@ if (!$columns) {
|
||||
$unique_array = unique_array($rows[$n], $indexes);
|
||||
$unique_idf = "";
|
||||
foreach ($unique_array as $key => $val) {
|
||||
if (strlen($val) > 10) {
|
||||
if (strlen($val) > 64) {
|
||||
$key = "MD5(" . (strpos($key, '(') ? $key : idf_escape($key)) . ")"; //! columns looking like functions
|
||||
$val = md5($val);
|
||||
}
|
||||
|
Reference in New Issue
Block a user