Re: Bug when typing '('



On Fri, 19 Jan 2001 11:35:56 Brian Stafford wrote:
> Carlos Morgado wrote:
> > On 2001.01.18 17:05:09 +0000 Brian Stafford wrote:
> 
> > Sounds like a job for a libldap not the user code.
> 
> Not quite, IIRC the LDAP API expects the application to pass in a
> properly
> formatted ldap search filter string.  There are functions to build
> filters
> from templates, but these also require the application to quote any
> strings
> inserted into the templates.

Feels stupid that all applications must implement the same code for solving
these situations. Atlest shouldn't the LDAP API provide a method for doing
the formating?





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]