Project

General

Profile

Actions

Backport #1168

closed

wrong result of File.extname for path contains a space just before the extension

Added by nobu (Nobuyoshi Nakada) about 15 years ago. Updated almost 13 years ago.


Description

=begin
http://pc11.2ch.net/test/read.cgi/tech/1233686068/380

ruby 1.8.7 (2008-08-11 patchlevel 72) [i386-mswin32]
irb(main):007:0> File.extname("a.txt")
=> ".txt"
irb(main):008:0> File.extname("a .txt")
=> ""
irb(main):009:0> File.extname("a.txt .txt")
=> ".txt .txt"
=end

Actions #1

Updated by nobu (Nobuyoshi Nakada) about 15 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
Applied in changeset r22393.
=end

Actions #2

Updated by shyouhei (Shyouhei Urabe) almost 15 years ago

  • Status changed from Closed to Open
  • Assignee changed from nobu (Nobuyoshi Nakada) to shyouhei (Shyouhei Urabe)

=begin

=end

Actions #3

Updated by shyouhei (Shyouhei Urabe) almost 15 years ago

  • Assignee changed from shyouhei (Shyouhei Urabe) to wyhaines (Kirk Haines)

=begin

=end

Actions #4

Updated by wyhaines (Kirk Haines) over 14 years ago

  • Status changed from Open to Closed

=begin
Applied in changeset r24653.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0