directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r675642 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/LdapMessageContainer.java
Date Thu, 10 Jul 2008 16:42:52 GMT
Author: elecharny
Date: Thu Jul 10 09:42:52 2008
New Revision: 675642

URL: http://svn.apache.org/viewvc?rev=675642&view=rev
Log:
Partially fix DIRSERVER-1198

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/LdapMessageContainer.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/LdapMessageContainer.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/LdapMessageContainer.java?rev=675642&r1=675641&r2=675642&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/LdapMessageContainer.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/LdapMessageContainer.java
Thu Jul 10 09:42:52 2008
@@ -123,6 +123,11 @@
      */
     public boolean isBinary( String id )
     {
+        if ( ( id != null ) && id.endsWith( ";binary" ) )
+        {
+            return true;
+        }
+        
         return binaryAttributeDetector.isBinary( id );
     }
 



Mime
View raw message