End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
URI::LDAP#parse_dn
parse_dn
lib/uri/ldap.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/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.