diff --git a/adminer/select.inc.php b/adminer/select.inc.php index 6b35e62b..1c4f5bdf 100644 --- a/adminer/select.inc.php +++ b/adminer/select.inc.php @@ -332,6 +332,10 @@ if (!$columns) { $unique_array = unique_array($rows[$n], $indexes); $unique_idf = ""; foreach ($unique_array as $key => $val) { + if (strlen($val) > 10) { + $key = "MD5(" . (strpos($key, '(') ? $key : idf_escape($key)) . ")"; //! columns looking like functions + $val = md5($val); + } $unique_idf .= "&" . ($val !== null ? urlencode("where[" . bracket_escape($key) . "]") . "=" . urlencode($val) : "null%5B%5D=" . urlencode($key)); } echo "