Project

General

Profile

Actions

Bug #385

closed

Net::FTP#login raises TypeErrors

Added by Anonymous over 15 years ago. Updated about 13 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
Actions #1

Updated by shugo (Shugo Maeda) over 15 years ago

  • Assignee set to shugo (Shugo Maeda)

=begin

=end

Actions #2

Updated by shugo (Shugo Maeda) over 15 years ago

=begin
Is the attached patch sufficient?

This patch raises FTPReplyError in such a situation.
=end

Actions #3

Updated by NoKarma (Arthur Schreiber) over 15 years ago

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

Actions #4

Updated by shugo (Shugo Maeda) over 15 years ago

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

=begin
Applied in changeset r18417.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0