From 9cdd297a2959c9c01eeee4a743b4777f28ffc9e4 Mon Sep 17 00:00:00 2001 From: usa Date: Mon, 27 Oct 2014 11:18:02 +0000 Subject: * lib/rexml/entity.rb: keep the entity size within the limitation. reported by Willis Vandevanter and patched by nahi. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/rexml/test_document.rb | 27 +++++++++++++++++++++++++++ test/rexml/test_entity.rb | 16 ++++++++++++++++ 2 files changed, 43 insertions(+) (limited to 'test') diff --git a/test/rexml/test_document.rb b/test/rexml/test_document.rb index db3c0e97c3..171d480557 100644 --- a/test/rexml/test_document.rb +++ b/test/rexml/test_document.rb @@ -46,6 +46,20 @@ EOF &a; +EOF + + XML_WITH_NESTED_PARAMETER_ENTITY = < + + + + + + + +]> + EOF XML_WITH_4_ENTITY_EXPANSION = <