Project

General

Profile

Actions

Bug #15276

closed

URI.join behaviour is unintuitive

Added by vihai (Daniele Orlandi) about 6 years ago. Updated about 4 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:89677]
Tags:

Description

Hello,

I've been bitten by issue #10075, I actually expected a different behaviour from ::join. It doesn't IMHO resepect the "principle of least suprise".

I agree with avdi who suggests to deprecate ::join and replace it with a more intuitive name, while adding another method that performs path concatenation (which I think it is a more common scenario).

Please consider this,
Thank you!


Related issues 1 (0 open1 closed)

Related to Ruby master - Bug #6057: URI - Nonsensical BehaviorClosedakira (akira yamada)Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0