diff --git a/ChangeLog b/ChangeLog index 87e3325a71..d1ab8d50ea 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Feb 2 12:15:36 2013 Yusuke Endoh + + * lib/uri/ftp.rb (URI::FTP.new2): remove the rdoc because it is not + well tested yet. [Bug #7301] + Sat Feb 2 12:07:41 2013 Yusuke Endoh * ChangeLog: Forgot to add a reference to the ChangeLog of the diff --git a/lib/uri/ftp.rb b/lib/uri/ftp.rb index 971684a545..db3da6d2c8 100644 --- a/lib/uri/ftp.rb +++ b/lib/uri/ftp.rb @@ -45,16 +45,11 @@ module URI # ';type=' TYPECODE_PREFIX = ';type='.freeze - # alternate initialization - # Creates a new URI::FTP object. - # - # Unlike build(), this method does not escape the path component as - # required by RFC1738; instead it is treated as per RFC2396. - # - # Arguments are user, password, host, port, path, typecode, - # and arg_check, in that order. def self.new2(user, password, host, port, path, typecode = nil, arg_check = true) + # Do not use this method! Not tested. [Bug #7301] + # This methods remains just for compatibility, + # Keep it undocumented until the active maintainer is assigned. typecode = nil if typecode.size == 0 if typecode && !TYPECODE.include?(typecode) raise ArgumentError,