Skip to content

Maintenance Ruby 3.3 gets fixes, but no new features. 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.2 · 3.1 · 3.0