Project

General

Profile

Actions

Feature #7401

closed

Pathname#cleanpath default consider_symlink to true

Added by zzak (zzak _) about 12 years ago. Updated over 11 years ago.

Status:
Rejected
Target version:
[ruby-core:49567]

Description

=begin
from github: https://github.com/ruby/ruby/pull/213

((Pathname#cleanpath is a purely lexical cleanup of a unix path, to remove
useless syntax and return an equivalent path. However, the current default
algorithm makes choices that can return semantically different paths.
))

((This patch sets the default algorithm to the safe alternative, guaranteeing the
return of a semantically identical path. The unsafe/aggressive algorithm
remains and can be enabled where appropriate.
))
=end


Files

Actions

Also available in: Atom PDF

Like0
Like0Like0