-
Notifications
You must be signed in to change notification settings - Fork 22
Closed
Description
Pathname#taint and #untaint displays a warning to notice that we will remove them in Ruby 3.2, but they still exist.
$ ruby -v -rpathname -e 'Pathname("a").taint; Pathname("a").untaint'
ruby 3.2.1 (2023-02-08 revision 31819e82c8) [arm64-darwin21]
-e:1: warning: Pathname#taint is deprecated and will be removed in Ruby 3.2.
-e:1: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2.pathname/ext/pathname/pathname.c
Lines 1540 to 1541 in 1fffb9d
| rb_define_method(rb_cPathname, "taint", path_taint, 0); | |
| rb_define_method(rb_cPathname, "untaint", path_untaint, 0); |
Metadata
Metadata
Assignees
Labels
No labels