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

Re: Using OpenLDAP schema syntax rules in web form validation





--On Wednesday, May 26, 2004 1:31 PM -0500 Erik Mitchell <erikm@logicpd.com> wrote:


Quanah Gibson-Mount wrote:


We simply force phone numbers to be cleaned up to ITU specifications before they get added to the directory.


You wouldn't happen to have a link to this specification, or a perl regexp for it, would you? :)

You can read the schema file for telephoneNumber to find the ITU specification. IIRC, it essentially allows all numbers, all alpha, and ()-#.


remove anything else, basically.

--Quanah

--
Quanah Gibson-Mount
Principal Software Developer
ITSS/TSS/Computing Systems
ITSS/TSS/Infrastructure Operations
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html