mirror of
https://github.com/ruby/ruby.git
synced 2026-10-28 16:36:20 +08:00
File.expand_path walks past the root through its own call site, and Pathname#sub_ext skips the length check File.extname does first, so both reach the backward scan by routes the extname test does not exercise.