libldap-ruby (0.9.7-1.1) lib/ldap/schema.rb

Summary

 lib/ldap/schema.rb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

    
download this patch

Patch contents

--- libldap-ruby-0.9.7.orig/lib/ldap/schema.rb
+++ libldap-ruby-0.9.7/lib/ldap/schema.rb
@@ -35,7 +35,7 @@
       self['objectClasses'].each{|s|
 	if( s =~ /NAME\s+'#{oc}'/ )
 	  case s
-	  when /#{at}\s+\(([\w\d_-\s\$]+)\)/i
+	  when /#{at}\s+\(([\w\d_\s\$-]+)\)/i
 	    return $1.split("$").collect{|attr| attr.strip}
 	  when /#{at}\s+([\w\d_-]+)/i
 	    return $1.split("$").collect{|attr| attr.strip}