From 083144fbd36c984cd922671ca1f33e5a3664d26b Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Sat, 4 May 2019 23:45:39 +0000
Subject: [PATCH] Support multipart/report MIME content-type, from RFC3462: The
 syntax of Multipart/Report is identical to the Multipart/Mixed content type

---
 src/smblib/smbtxt.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/smblib/smbtxt.c b/src/smblib/smbtxt.c
index bb2221d762..51209dfbb0 100644
--- a/src/smblib/smbtxt.c
+++ b/src/smblib/smbtxt.c
@@ -389,6 +389,8 @@ static const char* mime_getcontent(const char* buf, const char* content_type, co
 		content_type += 22;
 	else if(strstr(content_type, "multipart/mixed;") == content_type)
 		content_type +=16;
+	else if(strstr(content_type, "multipart/report;") == content_type)
+		content_type +=17;
 	else
 		return NULL;
 	p = strstr(content_type, "boundary=");
-- 
GitLab