End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
URI::File#check_userinfo
check_userinfo(user)
lib/uri/file.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/uri/file.rb, line 66
def check_userinfo(user)
raise URI::InvalidURIError, "can not set userinfo for file URI"
end
raise InvalidURIError
See also
#check_user
#set_host
#check_password
#set_password
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.1