Hi,
I've been working with some moderately complex LDIF files and found a bug
in the attribute value base64-encoding decision.
The reason is that the check for base64-encoding the attribute VALUE (the
name is done correctly) ignores the 'less than' symbol '<' - the dn and
attribute names are handled correctly.
It's a one-byte change to LDIF.pm as you can see below...
$ diff LDIF.pm LDIF.pm.saved
354c354
< if ($v =~ /(^[ :<]|[\x00-\x1f\x7f-\xff])/) {
---
> if ($v =~ /(^[ :]|[\x00-\x1f\x7f-\xff])/) {
Best Regards
dm00d