[edit] Do not default to UNHEX when using file upload.
This commit is contained in:
@@ -31,6 +31,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
|
||||
+ rfe #1025696 [browse] Add direct download of binary fields.
|
||||
- [browse] Properly display NULL value for BLOB.
|
||||
- rfe #1516803 [edit] Allow to set BLOB to/from NULL with ProtectBinary.
|
||||
- [edit] Do not default to UNHEX when using file upload.
|
||||
|
||||
3.3.0.0 (not yet released)
|
||||
+ rfe #2308632 [edit] Use hex for (var)binary fields,
|
||||
|
@@ -439,7 +439,7 @@ foreach ($rows as $row_id => $vrow) {
|
||||
} else {
|
||||
// loic1: special binary "characters"
|
||||
if ($field['is_binary'] || $field['is_blob']) {
|
||||
if ($_SESSION['tmp_user_values']['display_binary_as_hex'] && $cfg['ShowFunctionFields']) {
|
||||
if ($_SESSION['tmp_user_values']['display_binary_as_hex'] && $cfg['ShowFunctionFields'] && !$cfg['ProtectBinary']) {
|
||||
$vrow[$field['Field']] = bin2hex($vrow[$field['Field']]);
|
||||
$field['display_binary_as_hex'] = true;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user