[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#5959) back-meta doesn't detect illegal values

hyc@symas.com wrote:

> This seems like an odd situation, since we just went thru the validator above, 
> before attempting to normalize. In this case the attribute was 
> telephoneNumber, with a value of " " (a single space). The validator is 
> printableStringValidate, which accepts the value. But telephoneNumberNormalize 
> rejects it. Shouldn't the validator and normalizer always accept the same set 
> of input?

I suggest you file an ITS :)  I agree having normalize fail where 
validate would succeed should never happen.

> Anyway, HEAD is fixed to just drop the illegal values, as Ando suggested.

Thanks, I was about to look at it myself.


Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Fax:     +39 0382 476497
Email:   ando@sys-net.it