Merge conflicts resolved

This commit is contained in:
Nanne Baars
2019-09-23 07:34:27 +02:00
13 changed files with 319 additions and 22 deletions

View File

@ -58,7 +58,7 @@ public class ContentTypeAssignment extends AssignmentEndpoint {
attackResult = failed().feedback("xxe.content.type.feedback.json").build();
}
if (MediaType.APPLICATION_XML_VALUE.equals(contentType)) {
if (null != contentType && contentType.contains(MediaType.APPLICATION_XML_VALUE)) {
String error = "";
try {
Comment comment = comments.parseXml(commentStr);