class REXML::Security

Public Class Methods

entity_expansion_limit() click to toggle source

Get the entity expansion limit. By default the limit is set to 10000.

# File lib/rails-security-backports/ruby-cve-backports/cve-2008-3790.rb, line 55
def self.entity_expansion_limit
  return @@entity_expansion_limit
end
entity_expansion_limit=( val ) click to toggle source

Set the entity expansion limit. By default the limit is set to 10000.

# File lib/rails-security-backports/ruby-cve-backports/cve-2008-3790.rb, line 50
def self.entity_expansion_limit=( val )
  @@entity_expansion_limit = val
end
entity_expansion_text_limit() click to toggle source

Get the entity expansion limit. By default the limit is set to 10240.

# File lib/rails-security-backports/ruby-cve-backports/cve-2014-8080.rb, line 41
def self.entity_expansion_text_limit
  return @@entity_expansion_text_limit
end
entity_expansion_text_limit=( val ) click to toggle source

Set the entity expansion limit. By default the limit is set to 10240.

# File lib/rails-security-backports/ruby-cve-backports/cve-2014-8080.rb, line 36
def self.entity_expansion_text_limit=( val )
  @@entity_expansion_text_limit = val
end