Module: REXML::Security
- Defined in:
- lib/rexml/security.rb
Constant Summary collapse
- @@entity_expansion_limit =
10_000
- @@entity_expansion_text_limit =
10_240
Class Method Summary collapse
-
.entity_expansion_limit ⇒ Object
Get the entity expansion limit.
-
.entity_expansion_limit=(val) ⇒ Object
Set the entity expansion limit.
-
.entity_expansion_text_limit ⇒ Object
Get the entity expansion limit.
-
.entity_expansion_text_limit=(val) ⇒ Object
Set the entity expansion limit.
Class Method Details
.entity_expansion_limit ⇒ Object
Get the entity expansion limit. By default the limit is set to 10000.
12 13 14 |
# File 'lib/rexml/security.rb', line 12 def self.entity_expansion_limit return @@entity_expansion_limit end |
.entity_expansion_limit=(val) ⇒ Object
Set the entity expansion limit. By default the limit is set to 10000.
7 8 9 |
# File 'lib/rexml/security.rb', line 7 def self.entity_expansion_limit=( val ) @@entity_expansion_limit = val end |
.entity_expansion_text_limit ⇒ Object
Get the entity expansion limit. By default the limit is set to 10240.
24 25 26 |
# File 'lib/rexml/security.rb', line 24 def self.entity_expansion_text_limit return @@entity_expansion_text_limit end |
.entity_expansion_text_limit=(val) ⇒ Object
Set the entity expansion limit. By default the limit is set to 10240.
19 20 21 |
# File 'lib/rexml/security.rb', line 19 def self.entity_expansion_text_limit=( val ) @@entity_expansion_text_limit = val end |