Project

General

Profile

This project is closed and read-only.

Actions

Bug #385

closed

Net::FTP#login raises TypeErrors

Bug #385: Net::FTP#login raises TypeErrors

Added by Anonymous about 18 years ago. Updated over 15 years ago.

Status:
Closed
Target version:
-
ruby -v:
[ruby-core:18058]

Description

=begin
Net::FTP#login raises TypeError when one of the passed arguments (user, password or account) is nil.
This happens when only passing a user, but a password is requested by the Server.
=end


Files

ftp.rb.diff (471 Bytes) ftp.rb.diff shugo (Shugo Maeda), 08/05/2008 04:54 PM

Updated by shugo (Shugo Maeda) about 18 years ago Actions #1

  • Assignee set to shugo (Shugo Maeda)

=begin

=end

Updated by shugo (Shugo Maeda) about 18 years ago Actions #2

=begin
Is the attached patch sufficient?

This patch raises FTPReplyError in such a situation.
=end

Updated by NoKarma (Arthur Schreiber) about 18 years ago Actions #3

=begin
Yes, that patch seems to be fine.
=end

Updated by shugo (Shugo Maeda) about 18 years ago Actions #4

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
Applied in changeset r18417.
=end

Actions

Also available in: PDF Atom