Skip to content

End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

instance method

URI::Generic#check_userinfo

check_userinfo(user, password = nil)

Checks the user and password.

If password is not provided, then user is split, using URI::Generic.split_userinfo, to pull user and +password.

See also URI::Generic.check_user, URI::Generic.check_password.

See also #check_user #coerce #check_scheme #component also in 4.1 · 4.0 · 3.4 · 3.3 · 3.1 · 3.0