directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r1057914 - /directory/studio/trunk/plugins/ldifparser/src/main/java/org/apache/directory/studio/ldifparser/parser/LdifScanner.java
Date Tue, 11 Jan 2011 23:06:44 GMT
Author: seelmann
Date: Tue Jan 11 23:06:44 2011
New Revision: 1057914

URL: http://svn.apache.org/viewvc?rev=1057914&view=rev
Log:
Fix for DIRSTUDIO-722 (LDIF parser should allow attribute names with underscore)

Modified:
    directory/studio/trunk/plugins/ldifparser/src/main/java/org/apache/directory/studio/ldifparser/parser/LdifScanner.java

Modified: directory/studio/trunk/plugins/ldifparser/src/main/java/org/apache/directory/studio/ldifparser/parser/LdifScanner.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/ldifparser/src/main/java/org/apache/directory/studio/ldifparser/parser/LdifScanner.java?rev=1057914&r1=1057913&r2=1057914&view=diff
==============================================================================
--- directory/studio/trunk/plugins/ldifparser/src/main/java/org/apache/directory/studio/ldifparser/parser/LdifScanner.java
(original)
+++ directory/studio/trunk/plugins/ldifparser/src/main/java/org/apache/directory/studio/ldifparser/parser/LdifScanner.java
Tue Jan 11 23:06:44 2011
@@ -898,7 +898,7 @@ public class LdifScanner
                 try
                 {
                     while ( 'a' <= c && c <= 'z' || 'A' <= c &&
c <= 'Z' || '0' <= c && c <= '9' || c == '.'
-                        || c == ';' || c == '-' )
+                        || c == ';' || c == '-' || c == '_' )
                     {
                         c = read( sb );
                     }



Mime
View raw message