summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-06-06 07:51:08 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-06-06 07:51:08 +0000
commit5137f1186307479395d2f7c7d434f36bfa658072 (patch)
tree876cb797f906991b5d2b28aafe7d7fea0740f85c /doc
parent286f303a4dd414022a4393c4f7ba4255b71d9191 (diff)
Update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'doc')
-rw-r--r--doc/NEWS25
1 files changed, 22 insertions, 3 deletions
diff --git a/doc/NEWS b/doc/NEWS
index ec99dd0f1f..f6a27d8722 100644
--- a/doc/NEWS
+++ b/doc/NEWS
@@ -1,6 +1,25 @@
Summary of the changes since 1.6.4:
-: $SAFE
+: $SAFE / load
+
+ Fixed a bug that a file with a tainted filename can be loaded even
+ under $SAFE == 1 when the second argument is true. [ruby-dev:13481]
+
+ $SAFE = 1
+ filename = "foo"
+ filename.taint
+ load(filename, true)
+ #=> true
+
+: Regexp
+
+ Fixed for the following case. [ruby-talk:16233]
+
+ ruby -e 'puts "OK" if /(.|a)bd/ =~ "cxbd"'
+ ruby -e 'puts "OK" if /(a|.)bd/ =~ "cxbd"'
+ #=> OK
+
+: $SAFE / def
Fixed so defining a new method is allowed under $SAFE == 4, which
previously wasn't.
@@ -28,7 +47,7 @@ Summary of the changes since 1.6.3:
end
}
-: File::unlink
+: $SAFE / File::unlink
Changed to be forbidden under $SAFE >= 2.
@@ -90,7 +109,7 @@ Summary of the changes since 1.6.3:
Now it properly produces [1, 2, 3].
-: $SAFE
+: $SAFE / alias
Fixed so aliasing global valiables is disallowed under $SAFE == 4.
((<ruby-dev:13287>))