Project

General

Profile

Bug #14650

Remove problematic separator '\0' of Dir.glob and Dir.[]

Added by usa (Usaku NAKAMURA) about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:86384]

Description

Dir.glob and Dir.[] accepts '\0' separated string as the parameter,
but this feature is very problematic.
Shouldn't we remove this feature for Ruby3 ?

History

#1

Updated by hsbt (Hiroshi SHIBATA) about 1 year ago

  • Status changed from Open to Closed

Updated by duerst (Martin Dürst) about 1 year ago

中村さん、こんにちは。

おそらく中村さんのではなくて、ブラウザですが、同じバグを10個も作りました。
(https://bugs.ruby-lang.org/issues/14643 から
https://bugs.ruby-lang.org/issues/14650 まで)

是非気を付けてください。

よろしくお願いします。   Martin.

On 2018/03/29 13:13, usa@garbagecollect.jp wrote:

Issue #14650 has been reported by usa (Usaku NAKAMURA).


Bug #14650: Remove problematic separator '\0' of Dir.glob and Dir.[]
https://bugs.ruby-lang.org/issues/14650

  • Author: usa (Usaku NAKAMURA)
  • Status: Open
  • Priority: Normal
  • Assignee:
  • Target version:
  • ruby -v:

* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN

Dir.glob and Dir.[] accepts '\0' separated string as the parameter,
but this feature is very problematic.
Shouldn't we remove this feature for Ruby3 ?

Also available in: Atom PDF