Try to decode the unknown multipart subtype anyway.
authorjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 27 Oct 2010 06:49:18 +0000 (06:49 +0000)
committerjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 27 Oct 2010 06:49:18 +0000 (06:49 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34658 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-http.c

index cd941adaffc0bf1b1b227803df05617a9f4ef897..3f5e14236e248df9d9a39d92cfb07094a0696d00 100644 (file)
@@ -1228,6 +1228,13 @@ dissect_http_message(tvbuff_t *tvb, int offset, packet_info *pinfo,
                        handle = dissector_get_string_handle(
                            media_type_subdissector_table,
                            headers.content_type);
+                       if (handle == NULL &&
+                           !strncmp(headers.content_type, "multipart/", sizeof("multipart/")-1)) {
+                               /* Try to decode the unknown multipart subtype anyway */
+                               handle = dissector_get_string_handle(
+                                   media_type_subdissector_table,
+                                   "multipart/");
+                       }
                }
                if (handle != NULL) {
                        /*