模块 REXML::Security
公共类方法
entity_expansion_limit() 点击切换源代码
获取实体展开限制。默认情况下,限制设置为 10000。
# File rexml-3.4.0/lib/rexml/security.rb, line 12 def self.entity_expansion_limit return @@entity_expansion_limit end
entity_expansion_limit=( val ) 点击切换源代码
设置实体展开限制。默认情况下,限制设置为 10000。
# File rexml-3.4.0/lib/rexml/security.rb, line 7 def self.entity_expansion_limit=( val ) @@entity_expansion_limit = val end
entity_expansion_text_limit() 点击切换源代码
获取实体展开限制。默认情况下,限制设置为 10240。
# File rexml-3.4.0/lib/rexml/security.rb, line 24 def self.entity_expansion_text_limit return @@entity_expansion_text_limit end
entity_expansion_text_limit=( val ) 点击切换源代码
设置实体展开限制。默认情况下,限制设置为 10240。
# File rexml-3.4.0/lib/rexml/security.rb, line 19 def self.entity_expansion_text_limit=( val ) @@entity_expansion_text_limit = val end