On 4/8/04 2:21 am, Drenter, James A. <james.drenter@xxxxxx> wrote:
> Hello:
>
> I've run into a problem when parsing an LDIF file that contains an entry
> with a value that begins with a "<" (and probably a ":"), for example:
>
> statusflag: <<AWAY>>
>
> While this isn't valid for the strictest interpretation of the LDIF
> specs/rfc2849 (the above should be base-64 encoded), neither is trying
> to interpret the value as a URL when there is a space between the colon
> and the "<" when you actually are trying to specify a URL, e.g.:
>
> # Invalid URL line
> myfile: < file:://myfilename
>
> # Valid URL line
> myfile:< file::/myfilename
>
> This was pretty easy to make a bit more tolerant with a couple minor
> changes to LDIF.pm, the diff output follows.
>
> Regards,
> James
Thanks, I've just committed this.
Cheers,
Chris
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|