ruby-changes:7801
From: shugo <ko1@a...>
Date: Sat, 13 Sep 2008 11:14:54 +0900 (JST)
Subject: [ruby-changes:7801] Ruby:r19322 (ruby_1_8): * NEWS: added an entry for REXML.
shugo 2008-09-13 11:14:39 +0900 (Sat, 13 Sep 2008) New Revision: 19322 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=19322 Log: * NEWS: added an entry for REXML. * lib/rexml/document.rb: fixed typo. Modified files: branches/ruby_1_8/ChangeLog branches/ruby_1_8/NEWS branches/ruby_1_8/lib/rexml/document.rb Index: ruby_1_8/NEWS =================================================================== --- ruby_1_8/NEWS (revision 19321) +++ ruby_1_8/NEWS (revision 19322) @@ -49,6 +49,15 @@ * raise an exception not returns nil for invalid feed making. * requires block. +* REXML + + * REXML::Document.entity_expansion_limit= + + New method to set the entity expansion limit. By default the limit is + set to 10000. See the following URL for details. + + http://www.ruby-lang.org/en/news/2008/08/23/dos-vulnerability-in-rexml/ + == Changes since the 1.8.6 release === Configuration changes Index: ruby_1_8/ChangeLog =================================================================== --- ruby_1_8/ChangeLog (revision 19321) +++ ruby_1_8/ChangeLog (revision 19322) @@ -1,3 +1,9 @@ +Sat Sep 13 11:13:18 2008 Shugo Maeda <shugo@r...> + + * NEWS: added an entry for REXML. + + * lib/rexml/document.rb: fixed typo. + Sat Sep 13 11:05:38 2008 Shugo Maeda <shugo@r...> * lib/rexml/document.rb: limit entity expansion. Thanks, Luka Index: ruby_1_8/lib/rexml/document.rb =================================================================== --- ruby_1_8/lib/rexml/document.rb (revision 19321) +++ ruby_1_8/lib/rexml/document.rb (revision 19322) @@ -203,12 +203,12 @@ @@entity_expansion_limit = 10_000 - # Set the entity expansion limit. By defualt the limit is set to 10000. + # Set the entity expansion limit. By default the limit is set to 10000. def Document::entity_expansion_limit=( val ) @@entity_expansion_limit = val end - # Get the entity expansion limit. By defualt the limit is set to 10000. + # Get the entity expansion limit. By default the limit is set to 10000. def Document::entity_expansion_limit return @@entity_expansion_limit end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/