You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the report. More specifically this is what RFC 2849 has to say:
Any non-empty line, including comment lines, in an LDIF file
MAY be folded by inserting a line separator (SEP) and a SPACE.
Folding MUST NOT occur before the first character of the line.
In other words, folding a line into two lines, the first of
which is empty, is not permitted. Any line that begins with a
single space MUST be treated as a continuation of the previous
(non-empty) line. When joining folded lines, exactly one space
character at the beginning of each continued line must be
discarded. Implementations SHOULD NOT fold lines in the middle
of a multi-byte UTF-8 character.
Printing to ldif format is done by calling the toString() method on LdapAttributes, it in turn, for base64 values, will call https://github.com/spring-projects/spring-ldap/blob/master/core/src/main/java/org/springframework/ldap/support/LdapEncoder.java#L247.
For long values the ldif format asks a ' ' (space) at the beginning of the lines.
At line https://github.com/spring-projects/spring-ldap/blob/master/core/src/main/java/org/springframework/ldap/support/LdapEncoder.java#L260 a space needs to be added after
\n
The text was updated successfully, but these errors were encountered: