equivalent to gzip and deflate.
This fixes bug 5882.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36963
f5534014-38df-0310-8fa8-
9805f1628bb7
if (http_decompress_body &&
(g_ascii_strcasecmp(headers.content_encoding, "gzip") == 0 ||
if (http_decompress_body &&
(g_ascii_strcasecmp(headers.content_encoding, "gzip") == 0 ||
- g_ascii_strcasecmp(headers.content_encoding, "deflate")
- == 0)) {
-
+ g_ascii_strcasecmp(headers.content_encoding, "deflate") == 0 ||
+ g_ascii_strcasecmp(headers.content_encoding, "x-gzip") == 0 ||
+ g_ascii_strcasecmp(headers.content_encoding, "x-deflate") == 0))
+ {
uncomp_tvb = tvb_child_uncompress(tvb, next_tvb, 0,
tvb_length(next_tvb));
}
uncomp_tvb = tvb_child_uncompress(tvb, next_tvb, 0,
tvb_length(next_tvb));
}