21 Feb '13, 5pm

JRuby 1.7.3 has been released. It also addresses two security bugs. Please upgrade!

class REXML::Document @@entity_expansion_text_limit = 10_240 def self.entity_expansion_text_limit=( val ) @@entity_expansion_text_limit = val end def self.entity_expansion_text_limit @@entity_expansion_text_limit end end class REXML::Text def self.unnormalize(string, doctype=nil, filter=nil, illegal=nil) sum = 0 string.gsub( /\r\n?/, "\n" ).gsub( REFERENCE ) { s = self.expand($&, doctype, filter) if sum + s.bytesize > REXML::Document.entity_expansion_text_limit raise "entity expansion has grown too large" else sum += s.bytesize end s } end def self.expand(ref, doctype, filter) if ref[1] == ?# if ref[2] == ?x [ref[3...-1].to_i(16)].pack('U*') else [ref[2...-1].to_i].pack('U*') end elsif ref == '&' '&' elsif filter and filter.include?( ref[1...-1] ) ref elsif doctype doctype.entity( ref[1...-1] ) or ref else entity_value = DocType::DEFAULT_ENTITIES[ ref[1...-1] ] entity_...

Full article: http://jruby.org/2013/02/21/jruby-1-7-3

Tweets

[bad news] Ruby 1.9.3-p392 is released, include...

ruby-lang.org 22 Feb '13, 1pm

Now Ruby 1.9.3-p392 is released. I apologize for updating too frequently. This release includes security fixes about bundl...

Ruby 2.0

ruby-lang.org 24 Feb '13, 9am

The default encoding for ruby scripts is now UTF-8 [#6679]. Some people report that it affects existing programs, such as ...

Espresso 101 - Next class Mon 3/3. Learn to perfect your espresso from the baristas that make the drinks you crave!

Espresso 101 - Next class Mon 3/3. Learn to per...

barismo.com 22 Feb '13, 5pm

b arismo offers classes in the lab space of our roastery at 171 Mass Ave in Arlington, all taught by one of our knowledgab...

More Rails security fixes released: Two bugs in...

h-online.com 12 Feb '13, 4pm

The Ruby on Rails Developers have released updates to Rails 3.2, 3.1 and 2.3 and made users aware of an update to the JSON...

More Rails security fixes released: Two bugs in...

h-online.com 12 Feb '13, 4pm

The Ruby on Rails Developers have released updates to Rails 3.2, 3.1 and 2.3 and made users aware of an update to the JSON...

Mazda CX-5 CKD prices released – RM144k to RM160k

paultan.org 22 Feb '13, 2am

It is unfortunate for us to see the price of CKD models do not come down that much from CBU models. This is merely due to ...

Thanks for the follow! Check out this review of...

gorgeouslygreen.com 03 Mar '13, 10am

3Girls Holistic is proud to say “our line is actually so pure that you could eat it” and that’s an idea I stand behind 100...

Riding Rails: Rails 4.0: Beta 1 released!

weblog.rubyonrails.org 26 Feb '13, 12am

Hot on the heels of the first production version of Ruby 2.0 comes the first beta version of Rails 4.0. The two form a gre...

こっちもきたー / “RubyInstaller 2.0.0-p0 released”

rubyinstaller.org 25 Feb '13, 3am

RubyInstaller 2.0.0-p0 released RubyInstaller version 2.0.0-p0 is now available for download as installers and 7-Zip binar...