commit
708bc5ed83
@ -2584,7 +2584,7 @@ function dn_unescape($dn) {
|
||||
foreach ($dn as $key => $rdn)
|
||||
$a[$key] = preg_replace_callback('/\\\([0-9A-Fa-f]{2})/',
|
||||
function ($r) {
|
||||
return "''.chr(hexdec('$r[1]')).''";
|
||||
return chr(hexdec($r[1]));
|
||||
},
|
||||
$rdn
|
||||
);
|
||||
@ -2594,7 +2594,7 @@ function dn_unescape($dn) {
|
||||
} else {
|
||||
return preg_replace_callback('/\\\([0-9A-Fa-f]{2})/',
|
||||
function ($r) {
|
||||
return "''.chr(hexdec('$r[1]')).''";
|
||||
return chr(hexdec($r[1]));
|
||||
},
|
||||
$dn
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user