Project

General

Profile

Misc #13814 ยป ftp-uri-documentation.patch

aycabta (aycabta .), 08/14/2017 05:33 PM

View differences:

lib/uri/ftp.rb (working copy)
226 226
    # RFC 1738 specifically states that the path for an FTP URI does not
227 227
    # include the / which separates the URI path from the URI host. Example:
228 228
    #
229
    #     ftp://ftp.example.com/pub/ruby
229
    # +ftp://ftp.example.com/pub/ruby+
230 230
    #
231 231
    # The above URI indicates that the client should connect to
232 232
    # ftp.example.com then cd pub/ruby from the initial login directory.
......
234 234
    # If you want to cd to an absolute directory, you must include an
235 235
    # escaped / (%2F) in the path. Example:
236 236
    #
237
    #     ftp://ftp.example.com/%2Fpub/ruby
237
    # +ftp://ftp.example.com/%2Fpub/ruby+
238 238
    #
239 239
    # This method will then return "/pub/ruby"
240 240
    #