Make LDAP support more robust
[lgpl/argeo-commons.git] / org.argeo.enterprise / src / org / argeo / naming / LdifParser.java
index 9595b57f0b0d030e866b44856131ea3a6cfe5105..86392b345174cb9392a1cb5360fe439470e777b4 100644 (file)
@@ -114,6 +114,7 @@ public class LdifParser {
                                        }
 
                                        String attributeId = attrId.toString();
+                                       // TODO should we really trim the end of the string as well?
                                        String cleanValueStr = currentEntry.toString().trim();
                                        Object attributeValue = isBase64 ? Base64.getDecoder().decode(cleanValueStr) : cleanValueStr;