mirror of
https://github.com/apache/struts.git
synced 2026-08-11 01:27:14 +00:00
exploit
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1231642 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
+1
@@ -113,6 +113,7 @@ public class DefaultValidatorFileParser implements ValidatorFileParser {
|
||||
|
||||
Map<String, String> dtdMappings = new HashMap<String, String>();
|
||||
dtdMappings.put("-//Apache Struts//XWork Validator Config 1.0//EN", "xwork-validator-config-1.0.dtd");
|
||||
dtdMappings.put("-//Apache Struts//XWork Validator Definition 1.0//EN", "xwork-validator-definition-1.0.dtd");
|
||||
|
||||
Document doc = DomHelper.parse(in, dtdMappings);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user