Project

General

Profile

Actions

Bug #14075

closed

File.dirname("path without dir".taint) returns untainted string

Added by znz (Kazuhiro NISHIYAMA) about 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:83646]

Description

Is this intentional?

% ruby -e 'p [File.dirname("foo/bar".taint).tainted?, File.dirname("hoge".taint).tainted?]'
[true, false]
Actions

Also available in: Atom PDF