X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;f=org.argeo.enterprise%2Fsrc%2Forg%2Fargeo%2Fnaming%2FLdifParser.java;h=86392b345174cb9392a1cb5360fe439470e777b4;hb=2111a76162534100967eb0e7733632e80d9ddc5f;hp=9595b57f0b0d030e866b44856131ea3a6cfe5105;hpb=404d7629de8f8ba89d6f06587df7cdb7f4df5f62;p=lgpl%2Fargeo-commons.git diff --git a/org.argeo.enterprise/src/org/argeo/naming/LdifParser.java b/org.argeo.enterprise/src/org/argeo/naming/LdifParser.java index 9595b57f0..86392b345 100644 --- a/org.argeo.enterprise/src/org/argeo/naming/LdifParser.java +++ b/org.argeo.enterprise/src/org/argeo/naming/LdifParser.java @@ -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;