Skip to content

Commit edbd71f

Browse files
committed
Merge pull request rapid7#5381 from ccatalan-r7/bug/MSP-9532/import-web-data-expansion-error
MSP-9532 #land
2 parents c1b8cee + 046003a commit edbd71f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/msf/core/db_manager/import.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ def import_file(args={}, &block)
129129
end
130130
end
131131

132+
# Override REXML's expansion text limit to 50k (default: 10240 bytes)
133+
REXML::Security.entity_expansion_text_limit = 51200
132134

133135
if block
134136
import(args.merge(:data => data)) { |type,data| yield type,data }

0 commit comments

Comments
 (0)