Skip to content

Commit

Permalink
Merge pull request #229 from rapid7/rexml_entity_limit
Browse files Browse the repository at this point in the history
Increase REXML::Security.entity_expansion_text_limit
  • Loading branch information
sgreen-r7 committed May 11, 2016
2 parents f151a4a + e92299d commit 8b0c0af
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/nexpose.rb
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@
require 'nexpose/version'
require 'nexpose/wait'

# Double the size of the default limit,
# to work around large vuln content.
REXML::Security.entity_expansion_text_limit = 20_000

module Nexpose

# Echos the last XML API request and response for the specified object. (Useful for debugging)
Expand Down

0 comments on commit 8b0c0af

Please sign in to comment.