mirror of
https://github.com/apache/struts.git
synced 2026-08-11 01:27:14 +00:00
Includes global-allowed-methods instead of overriding them
This commit is contained in:
+1
-1
@@ -860,7 +860,7 @@ public class XmlConfigurationProvider implements ConfigurationProvider {
|
||||
if (n != null) {
|
||||
String s = n.getNodeValue().trim();
|
||||
if (s.length() > 0) {
|
||||
allowedMethods = TextParseUtil.commaDelimitedStringToSet(s);
|
||||
allowedMethods.addAll(TextParseUtil.commaDelimitedStringToSet(s));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user