mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/io-console] Remove taint support
Ruby 2.7 deprecates taint and it no longer has an effect. The lack of taint support should not cause a problem in previous Ruby versions.
This commit is contained in:
parent
398cd3cc7d
commit
17e8a6eff4
Notes:
git
2019-11-18 08:01:12 +09:00
1 changed files with 0 additions and 1 deletions
|
@ -1483,7 +1483,6 @@ prompt(int argc, VALUE *argv, VALUE io)
|
|||
if (argc > 0 && !NIL_P(argv[0])) {
|
||||
VALUE str = argv[0];
|
||||
StringValueCStr(str);
|
||||
rb_check_safe_obj(str);
|
||||
rb_io_write(io, str);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue