Closed doppelreim closed 8 years ago
Parsing a file with windows line endings (CRLF) fails with the error Improperly continued line:.
Improperly continued line:
According to https://tools.ietf.org/html/rfc2849:
SEP = (CR LF / LF)
I assume this is because the regex at https://github.com/bearded/ruby-ldap/blob/0.9.17/lib/ldap/ldif.rb#L195 does not match \r\n.
\r\n
Maybe changing it to /\A\s*\z/ would help?
/\A\s*\z/
Please try a version 0.9.19.
0.9.19
Yeah! Thanks a lot :)
Parsing a file with windows line endings (CRLF) fails with the error
Improperly continued line:
.According to https://tools.ietf.org/html/rfc2849:
I assume this is because the regex at https://github.com/bearded/ruby-ldap/blob/0.9.17/lib/ldap/ldif.rb#L195 does not match
\r\n
.Maybe changing it to
/\A\s*\z/
would help?