From: eregontp@... Date: 2018-04-19T11:28:56+00:00 Subject: [ruby-core:86606] [CommonRuby Feature#8258] Dir#escape_glob Issue #8258 has been updated by Eregon (Benoit Daloze). Looks to me like this can be closed since we have Dir.glob(pattern, base: dir) and Pathname#glob uses it. ---------------------------------------- Feature #8258: Dir#escape_glob https://bugs.ruby-lang.org/issues/8258#change-71563 * Author: steveklabnik (Steve Klabnik) * Status: Feedback * Priority: Normal * Assignee: * Target version: ---------------------------------------- This is inspired by https://github.com/rails/rails/issues/6010. Basically, if you do a Dir.glob in a directory whose name contains a glob character, things break. It would be nice to have a method which would escape the input so that we can Dir.glob inside of those directories. -- https://bugs.ruby-lang.org/ Unsubscribe: