[前][次][番号順一覧][スレッド一覧]

ruby-changes:58809

From: Jeremy <ko1@a...>
Date: Mon, 18 Nov 2019 08:19:26 +0900 (JST)
Subject: [ruby-changes:58809] 4c7dc9fbe6 (master): Update NEWS for $SAFE/taint changes

https://git.ruby-lang.org/ruby.git/commit/?id=4c7dc9fbe6

From 4c7dc9fbe604cc0c8343b1225c96d4e5219b8147 Mon Sep 17 00:00:00 2001
From: Jeremy Evans <code@j...>
Date: Thu, 14 Nov 2019 12:15:01 -0800
Subject: Update NEWS for $SAFE/taint changes


diff --git a/NEWS b/NEWS
index 34c3f5e..e94ac65 100644
--- a/NEWS
+++ b/NEWS
@@ -198,6 +198,15 @@ sufficient information, see the ChangeLog file or Redmine https://github.com/ruby/ruby/blob/trunk/NEWS#L198
   block arguments.
   Note that the parentheses are mandatory.  `bar ...` is parsed as an endless range.
 
+* Access and setting of <code>$SAFE</code> is now always warned. <code>$SAFE</code>
+  will become a normal global variable in Ruby 3.0. [Feature #16131]
+
+* <code>Object#{taint,untaint,trust,untrust}</code> and related functions in the C-API
+  no longer have an effect (all objects are always considered untainted), and are now
+  warned in verbose mode. This warning will be disabled even in non-verbose mode in
+  Ruby 3.0, and the methods and C functions will be removed in Ruby 3.2.
+  [Feature #16131] 
+
 === Core classes updates (outstanding ones only)
 
 Array::
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]