directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1655422 - /directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/search/AttributeValueAssertionFilter.java
Date Wed, 28 Jan 2015 18:03:56 GMT
Author: elecharny
Date: Wed Jan 28 18:03:56 2015
New Revision: 1655422

URL: http://svn.apache.org/r1655422
Log:
Escaped the value

Modified:
    directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/search/AttributeValueAssertionFilter.java

Modified: directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/search/AttributeValueAssertionFilter.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/search/AttributeValueAssertionFilter.java?rev=1655422&r1=1655421&r2=1655422&view=diff
==============================================================================
--- directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/search/AttributeValueAssertionFilter.java
(original)
+++ directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/search/AttributeValueAssertionFilter.java
Wed Jan 28 18:03:56 2015
@@ -20,6 +20,9 @@
 package org.apache.directory.ldap.client.api.search;
 
 
+import org.apache.directory.api.ldap.model.filter.FilterEncoder;
+
+
 /**
  * 
  * TODO AttributeValueAssertionFilter.
@@ -70,7 +73,7 @@ package org.apache.directory.ldap.client
     {
         return builder.append( "(" ).append( attribute )
             .append( operator.operator() )
-            .append( value ).append( ")" );
+            .append( FilterEncoder.encodeFilterValue( value ) ).append( ")" );
     }
 
     public static enum Operator



Mime
View raw message