mirror of https://github.com/apache/nifi.git
NIFI-10260 Changed display name and description of Validate DTD properties
- Set Allow DTD as display name in EvaluateXPath and EvaluateXQuery This closes #6230 Co-authored-by: David Handermann <exceptionfactory@apache.org> Signed-off-by: David Handermann <exceptionfactory@apache.org>
This commit is contained in:
parent
eab687ee50
commit
302bdbfb11
|
@ -129,8 +129,10 @@ public class EvaluateXPath extends AbstractProcessor {
|
|||
.build();
|
||||
|
||||
public static final PropertyDescriptor VALIDATE_DTD = new PropertyDescriptor.Builder()
|
||||
.displayName("Allow DTD")
|
||||
.name("Validate DTD")
|
||||
.description("Specifies whether or not the XML content should be validated against the DTD.")
|
||||
.description("Allow embedded Document Type Declaration in XML. "
|
||||
+ "This feature should be disabled to avoid XML entity expansion vulnerabilities.")
|
||||
.required(true)
|
||||
.allowableValues("true", "false")
|
||||
.defaultValue("false")
|
||||
|
|
|
@ -144,8 +144,10 @@ public class EvaluateXQuery extends AbstractProcessor {
|
|||
.build();
|
||||
|
||||
public static final PropertyDescriptor VALIDATE_DTD = new PropertyDescriptor.Builder()
|
||||
.displayName("Allow DTD")
|
||||
.name("Validate DTD")
|
||||
.description("Specifies whether or not the XML content should be validated against the DTD.")
|
||||
.description("Allow embedded Document Type Declaration in XML. "
|
||||
+ "This feature should be disabled to avoid XML entity expansion vulnerabilities.")
|
||||
.required(true)
|
||||
.allowableValues("true", "false")
|
||||
.defaultValue("false")
|
||||
|
|
Loading…
Reference in New Issue