Fixed IPv4/IPv6 To Binary input transformation
We really can't just output binary value, it can not be safely used in the result utf-8 query string. Fixes #13552 Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
parent
8385c2d47d
commit
d0d24ce20b
@ -16,6 +16,7 @@ phpMyAdmin - ChangeLog
|
||||
- issue #13515 Fixed rendering of add index dialog
|
||||
- issue #13710 Fixed possible error in server advisor
|
||||
- issue #13477 Fixed setting input transformations
|
||||
- issue #13552 Fixed IPv4/IPv6 To Binary input transformation
|
||||
|
||||
4.7.4 (2017-08-23)
|
||||
- issue #13415 Remove shadow from the logo
|
||||
|
||||
@ -45,7 +45,7 @@ class Text_Plain_Iptobinary extends IOTransformationsPlugin
|
||||
{
|
||||
$val = @inet_pton($buffer);
|
||||
if ($val !== false) {
|
||||
return $val;
|
||||
return '0x' . bin2hex($val);
|
||||
}
|
||||
|
||||
return $buffer;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user