[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Leading and Trailing Spaces
At 12:38 PM 12/13/2002, Hallvard B Furuseth wrote:
>Lon Tierney writes:
>> I can't seem to find anything in the RFCs that state if leading or
>> trailing spaces in attribute values are allowed.
>
>They are.
>
>> The only thing I can find is in RFC 2849 (LDIF) which says that values
>> ending in a space should be base64 encoded.
>
>Yes, but that's just in LDIF, not in the protocol.
>
>> Is it dependent on the particular syntax?
>
>No.
Actually, yes, it is dependent on syntax. That is, one can
certainly define a syntax which have very specific space
requirements.
>However, many string matching rules ignore leading and trailing
>space (and treat multiple adjoining whitespace as a single space) when
>comparing attribute values. E.g. caseIgnoreMatch, caseExactMatch, and
>others, in particular those used on DirectoryString.
>
>--
>Hallvard