diff options
Diffstat (limited to 'lib/uri')
-rw-r--r-- | lib/uri/ldap.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/uri/ldap.rb b/lib/uri/ldap.rb index a2043ccdf5..14e6163292 100644 --- a/lib/uri/ldap.rb +++ b/lib/uri/ldap.rb @@ -118,6 +118,7 @@ module URI # Private method to cleanup +dn+ from using the +path+ component attribute. def parse_dn + raise InvalidURIError, 'bad LDAP URL' unless @path @dn = @path[1..-1] end private :parse_dn |