changed Entry::to_ldif so it doesn't interpret blanks as binary characters.

master
blackhedd 2007-03-17 02:35:41 +00:00
parent 79f3ec6e0d
commit 17dcc52e05
1 changed files with 1 additions and 1 deletions

View File

@ -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