directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r1085854 - /directory/studio/branches/1.5.x/ldif-parser/src/main/java/org/apache/directory/studio/ldifparser/parser/LdifScanner.java
Date Sun, 27 Mar 2011 01:52:36 GMT
Author: seelmann
Date: Sun Mar 27 01:52:36 2011
New Revision: 1085854

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

Modified:
    directory/studio/branches/1.5.x/ldif-parser/src/main/java/org/apache/directory/studio/ldifparser/parser/LdifScanner.java

Modified: directory/studio/branches/1.5.x/ldif-parser/src/main/java/org/apache/directory/studio/ldifparser/parser/LdifScanner.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/1.5.x/ldif-parser/src/main/java/org/apache/directory/studio/ldifparser/parser/LdifScanner.java?rev=1085854&r1=1085853&r2=1085854&view=diff
==============================================================================
--- directory/studio/branches/1.5.x/ldif-parser/src/main/java/org/apache/directory/studio/ldifparser/parser/LdifScanner.java
(original)
+++ directory/studio/branches/1.5.x/ldif-parser/src/main/java/org/apache/directory/studio/ldifparser/parser/LdifScanner.java
Sun Mar 27 01:52:36 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