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.
11 12 13 |
# File 'lib/rexml/security.rb', line 11 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.
6 7 8 |
# File 'lib/rexml/security.rb', line 6 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.
23 24 25 |
# File 'lib/rexml/security.rb', line 23 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.
18 19 20 |
# File 'lib/rexml/security.rb', line 18 def self.entity_expansion_text_limit=( val ) @@entity_expansion_text_limit = val end |