[ruby-cvs:78225] ffd0820ab3 (master): Deprecate taint/trust and related methods, and make the methods no-ops
"Jeremy Evans" <[email protected]>
| Newsgroups | gmane.comp.lang.ruby.cvs |
|---|---|
| Message-ID | <[email protected]> |
Jeremy Evans 2019-09-25 12:59:12 +0900 (Wed, 25 Sep 2019)
New Revision: ffd0820ab3
https://github.com/ruby/ruby/commit/ffd0820ab3
Log:
Deprecate taint/trust and related methods, and make the methods no-ops
This removes the related tests, and puts the related specs behind
version guards. This affects all code in lib, including some
libraries that may want to support older versions of Ruby.
Modified files:
array.c
bin/erb
class.c
dir.c
encoding.c
enum.c
enumerator.c
error.c
ext/cgi/escape/escape.c
ext/etc/etc.c
ext/io/console/console.c
ext/nkf/nkf.c
ext/openssl/ossl_rand.c
ext/openssl/ossl_x509store.c
ext/pathname/pathname.c
ext/socket/ancdata.c
ext/socket/init.c
ext/socket/raddrinfo.c
ext/socket/socket.c
file.c
gc.c
hash.c
include/ruby/intern.h
io.c
lib/cgi/core.rb
lib/cgi/session/pstore.rb
lib/delegate.rb
lib/drb/drb.rb
lib/drb/ssl.rb
lib/drb/unix.rb
lib/find.rb
lib/net/imap.rb
lib/pp.rb
lib/resolv.rb
lib/set.rb
lib/singleton.rb
marshal.c
node.h
object.c
pack.c
proc.c
range.c
rational.c
re.c
ruby.c
safe.c
signal.c
spec/ruby/core/array/clear_spec.rb
spec/ruby/core/array/compact_spec.rb
spec/ruby/core/array/concat_spec.rb
spec/ruby/core/array/delete_at_spec.rb
spec/ruby/core/array/delete_if_spec.rb
spec/ruby/core/array/delete_spec.rb
spec/ruby/core/array/flatten_spec.rb
spec/ruby/core/array/multiply_spec.rb
spec/ruby/core/array/pack/p_spec.rb
spec/ruby/core/array/pack/shared/basic.rb
spec/ruby/core/array/pack/shared/taint.rb
spec/ruby/core/array/plus_spec.rb
spec/ruby/core/array/pop_spec.rb
spec/ruby/core/array/shared/clone.rb
spec/ruby/core/array/shared/collect.rb
spec/ruby/core/array/shared/inspect.rb
spec/ruby/core/array/shared/join.rb
spec/ruby/core/array/shift_spec.rb
spec/ruby/core/array/uniq_spec.rb
spec/ruby/core/enumerable/group_by_spec.rb
spec/ruby/core/enumerable/shared/entries.rb
spec/ruby/core/enumerable/uniq_spec.rb
spec/ruby/core/hash/reject_spec.rb
spec/ruby/core/hash/shared/eql.rb
spec/ruby/core/hash/shared/to_s.rb
spec/ruby/core/hash/to_a_spec.rb
spec/ruby/core/io/gets_spec.rb
spec/ruby/core/kernel/clone_spec.rb
spec/ruby/core/kernel/inspect_spec.rb
spec/ruby/core/kernel/shared/dup_clone.rb
spec/ruby/core/kernel/taint_spec.rb
spec/ruby/core/kernel/tainted_spec.rb
spec/ruby/core/kernel/to_s_spec.rb
spec/ruby/core/kernel/trust_spec.rb
spec/ruby/core/kernel/untaint_spec.rb
spec/ruby/core/kernel/untrust_spec.rb
spec/ruby/core/kernel/untrusted_spec.rb
spec/ruby/core/marshal/dump_spec.rb
spec/ruby/core/marshal/shared/load.rb
spec/ruby/core/matchdata/post_match_spec.rb
spec/ruby/core/matchdata/pre_match_spec.rb
spec/ruby/core/module/append_features_spec.rb
spec/ruby/core/module/extend_object_spec.rb
spec/ruby/core/module/prepend_features_spec.rb
spec/ruby/core/range/inspect_spec.rb
spec/ruby/core/range/to_s_spec.rb
spec/ruby/core/string/b_spec.rb
spec/ruby/core/string/capitalize_spec.rb
spec/ruby/core/string/center_spec.rb
spec/ruby/core/string/chomp_spec.rb
spec/ruby/core/string/chop_spec.rb
spec/ruby/core/string/crypt_spec.rb
spec/ruby/core/string/delete_prefix_spec.rb
spec/ruby/core/string/delete_spec.rb
spec/ruby/core/string/delete_suffix_spec.rb
spec/ruby/core/string/downcase_spec.rb
spec/ruby/core/string/dump_spec.rb
spec/ruby/core/string/element_set_spec.rb
spec/ruby/core/string/gsub_spec.rb
spec/ruby/core/string/insert_spec.rb
spec/ruby/core/string/inspect_spec.rb
spec/ruby/core/string/ljust_spec.rb
spec/ruby/core/string/lstrip_spec.rb
spec/ruby/core/string/modulo_spec.rb
spec/ruby/core/string/plus_spec.rb
spec/ruby/core/string/prepend_spec.rb
spec/ruby/core/string/reverse_spec.rb
spec/ruby/core/string/rjust_spec.rb
spec/ruby/core/string/rstrip_spec.rb
spec/ruby/core/string/scan_spec.rb
spec/ruby/core/string/shared/chars.rb
spec/ruby/core/string/shared/concat.rb
spec/ruby/core/string/shared/each_line.rb
spec/ruby/core/string/shared/replace.rb
spec/ruby/core/string/shared/slice.rb
spec/ruby/core/string/shared/succ.rb
spec/ruby/core/string/shared/to_s.rb
spec/ruby/core/string/slice_spec.rb
spec/ruby/core/string/split_spec.rb
spec/ruby/core/string/squeeze_spec.rb
spec/ruby/core/string/strip_spec.rb
spec/ruby/core/string/sub_spec.rb
spec/ruby/core/string/swapcase_spec.rb
spec/ruby/core/string/tr_s_spec.rb
spec/ruby/core/string/tr_spec.rb
spec/ruby/core/string/undump_spec.rb
spec/ruby/core/string/unpack/p_spec.rb
spec/ruby/core/string/unpack/shared/taint.rb
spec/ruby/core/string/upcase_spec.rb
spec/ruby/core/symbol/shared/slice.rb
spec/ruby/language/string_spec.rb
spec/ruby/library/delegate/delegator/taint_spec.rb
spec/ruby/library/delegate/delegator/trust_spec.rb
spec/ruby/library/delegate/delegator/untaint_spec.rb
spec/ruby/library/delegate/delegator/untrust_spec.rb
spec/ruby/library/pathname/new_spec.rb
spec/ruby/library/readline/history/delete_at_spec.rb
spec/ruby/library/readline/history/each_spec.rb
spec/ruby/library/readline/history/element_reference_spec.rb
spec/ruby/library/readline/history/pop_spec.rb
spec/ruby/library/readline/history/shift_spec.rb
spec/ruby/library/readline/readline_spec.rb
spec/ruby/library/stringscanner/initialize_spec.rb
spec/ruby/library/stringscanner/shared/extract_range.rb
spec/ruby/library/stringscanner/shared/extract_range_matched.rb
spec/ruby/library/stringscanner/shared/peek.rb
spec/ruby/optional/capi/object_spec.rb
spec/ruby/optional/capi/string_spec.rb
spec/ruby/security/cve_2018_16396_spec.rb
spec/ruby/shared/string/times.rb
sprintf.c
string.c
struct.c
test/-ext-/string/test_fstring.rb
test/-ext-/test_printf.rb
test/bigdecimal/test_bigdecimal.rb
test/cgi/test_cgi_util.rb
test/drb/test_drb.rb
test/fiddle/test_func.rb
test/fiddle/test_handle.rb
test/net/imap/test_imap_response_parser.rb
test/pathname/test_pathname.rb
test/readline/test_readline.rb
test/rss/test_parser.rb
test/ruby/test_array.rb
test/ruby/test_econv.rb
test/ruby/test_encoding.rb
test/ruby/test_env.rb
test/ruby/test_exception.rb
test/ruby/test_file.rb
test/ruby/test_file_exhaustive.rb
test/ruby/test_hash.rb
test/ruby/test_io.rb
test/ruby/test_m17n.rb
test/ruby/test_marshal.rb
test/ruby/test_method.rb
test/ruby/test_object.rb
test/ruby/test_pack.rb
test/ruby/test_proc.rb
test/ruby/test_range.rb
test/ruby/test_refinement.rb
test/ruby/test_require.rb
test/ruby/test_rubyoptions.rb
test/ruby/test_signal.rb
test/ruby/test_string.rb
test/ruby/test_symbol.rb
test/ruby/test_trace.rb
test/strscan/test_stringscanner.rb
test/test_set.rb
thread.c
time.c
transcode.c
variable.c
vm.c