[Tickets #5765] Re: Accept various newlines in LDIF import

bugs at bugs.horde.org bugs at bugs.horde.org
Wed Oct 3 19:17:35 UTC 2007


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=5765
-----------------------------------------------------------------------
 Ticket             | 5765
 Updated By         | gregory at langenburgresearch.org
 Summary            | Accept various newlines in LDIF import
 Queue              | Turba
 Version            | HEAD
 Type               | Enhancement
 State              | New
 Priority           | 1. Low
 Owners             | 
+New Attachment     | ldif.php.patch
-----------------------------------------------------------------------


gregory at langenburgresearch.org (2007-10-03 12:17) wrote:

>> Some clients export LDIF with windows newlines, attatched patch
>> allows import of these files.
>
> RFC 2849 defines SEP:
>
> SEP                      = (CR LF / LF)
>
> Are you seeing something else?  aka lone CR characters?

I just put those in there 'for good measure'. Conforming to RFC, and
matching only CRLF and LF should be fine.

Attatched new patch.




More information about the bugs mailing list