[#5219] Segmentation fault in timeout.rb — Michel Pastor <K@...>

Hi,

18 messages 2005/06/16
[#5220] Re: Segmentation fault in timeout.rb — Eric Hodel <drbrain@...7.net> 2005/06/16

[#5221] Re: Segmentation fault in timeout.rb — Michel Pastor <K@...> 2005/06/16

On Fri, 17 Jun 2005 05:03:18 +0900

[#5223] Re: Segmentation fault in timeout.rb — nobu.nokada@... 2005/06/17

Hi,

[#5296] Subversion — Shugo Maeda <shugo@...>

Hi,

64 messages 2005/06/30
[#5297] Re: Subversion — Curt Hibbs <curt@...> 2005/06/30

Shugo Maeda wrote:

[#5298] Re: Subversion — Nikolai Weibull <mailing-lists.ruby-core@...> 2005/06/30

Curt Hibbs wrote:

[#5301] Re: Subversion — Austin Ziegler <halostatue@...> 2005/06/30

On 6/30/05, Nikolai Weibull

[#5304] Re: Subversion — Nikolai Weibull <mailing-lists.ruby-core@...> 2005/06/30

Austin Ziegler wrote:

[#5305] Re: Subversion — Austin Ziegler <halostatue@...> 2005/06/30

On 6/30/05, Nikolai Weibull

[#5307] Re: Subversion — mathew <meta@...> 2005/06/30

Austin Ziegler wrote:

[#5308] Re: Subversion — Austin Ziegler <halostatue@...> 2005/06/30

On 6/30/05, mathew <meta@pobox.com> wrote:

[#5311] Re: Subversion — mathew <meta@...> 2005/07/01

Austin Ziegler wrote:

[#5323] Re: Subversion — Austin Ziegler <halostatue@...> 2005/07/01

On 7/1/05, mathew <meta@pobox.com> wrote:

[#5325] Re: Subversion — Nikolai Weibull <mailing-lists.ruby-core@...> 2005/07/01

Austin Ziegler wrote:

Re: [ ruby-Bugs-2055 ] URI::FTP handles path incorrectly as per RFC 1738

From: "Warren Brown" <warrenbrown@...>
Date: 2005-06-27 16:04:18 UTC
List: ruby-core #5285
> RFC 1738 specifically states that the path for an FTP
> URI does not include the / which separates the URI
> path from the URI host. Example:
>
>    ftp://ftp.example.com/pub/ruby
>
> The above URI indicates that the client should connect
> to ftp.example.com then cd pub/ruby from the initial
> login directory, *not* cd /pub/ruby.
>
> Similarly, for an absolute FTP path such as cd
> /foo/bar, the leading / must be escaped as %2F.
>
> In other words, FTP URIs are interpreted differently
> from generic URIs (RFC2396). Currently the standard
> library treats them the same as generic URIs, so the
> path returned from parsing an FTP URI is wrong, and
> valid paths passed to build() result in errors.

    Just a few clarifications...

    First of all, RFC1738 described URLs, not URIs, and it was *updated*
by RFC1808 and RFC2396 to bring URLs under the URI umbrella.  The
statement "FTP URIs are interpreted differently from generic URIs" is
not correct, FTP URLs are now a subset of generic URIs.  As such, the
difference between a relative path and an absolute path is simply a
leading slash ("/"); it is not required to be encoded ("%2f").

    However the essence of what is being said is true: absolute
pathnames require an additional slash after the slash separating the
path from the hostname.  For example, the absolute pathname example
given above (i.e. "CWD /pub/ruby") should be
"ftp://ftp.example.com//pub/ruby".  "ftp://ftp.example.com/pub/ruby"
should only perform a "CWD pub/ruby".

    - Warren Brown




In This Thread

Prev Next