Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
URI::LDAP#parse_dn
() -> nil
parse_dn
lib/uri/ldap.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/uri/ldap.rb, line 120
def parse_dn
raise InvalidURIError, 'bad LDAP URL' unless @path
@dn = @path[1..-1]
end
Private method to cleanup dn from using the path component attribute.