changed Entry::to_ldif so it doesn't interpret blanks as binary characters.
This commit is contained in:
parent
79f3ec6e0d
commit
17dcc52e05
|
@ -251,7 +251,7 @@ class LDAP
|
|||
def is_attribute_value_binary? value
|
||||
v = value.to_s
|
||||
v.each_byte {|byt|
|
||||
return true if (byt < 33) || (byt > 126)
|
||||
return true if (byt < 32) || (byt > 126)
|
||||
}
|
||||
if v[0..0] == ':' or v[0..0] == '<'
|
||||
return true
|
||||
|
|
Loading…
Reference in a new issue