From: Peter M. <pe...@ad...> - 2003-03-14 11:39:45
|
Hi Jacques, On Friday 14 March 2003 12:04, Graham Barr wrote: > If i change the filter and this is my case i am getting > $correct_filter->parse("(telephonenumber=3D(0711) 17-20350)"); > > In this case the filter hash has no assertionValue and so on > thus the search fails You have to quote the brace inside the filter according to the RFCs. One possible way is to apply the following expression to all the values used in the filter before constructing a filter: $val =3D~ s/([\x00-\x1F\*\(\)\\])/"\\".unpack("H2",$1)/oge; So, your filter could then be constructed like $correct_filter->parse("(telephonenumber=3D$val)"); Peter --=20 Peter Marschall eMail: pe...@ad... |