File.dirname is munching too much off on an UNC pathname #3786

Closed
enebo opened this Issue Apr 7, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@enebo
Member

enebo commented Apr 7, 2016

New issue start from a comment in #1727.

JRuby 1.7.25 (and 9k but solution will be cherry-picked):

File.dirname("//host/share") # => "//host/share"

At the moment we return "//host".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment