Project

General

Profile

Actions

Bug #13008

closed

File::basename fails if extension contains a colon

Added by rovf (Ronald Fischer) over 7 years ago. Updated over 7 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.2.4p230 (2015-12-16 revision 53155) [x86_64-cygwin]
[ruby-core:78497]

Description

 File.basename('a/b/c.d:12')

returns

c.d

but should return

c.d:12
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0