diff --git a/web/src/js/components/contentviews/HttpMessage.tsx b/web/src/js/components/contentviews/HttpMessage.tsx index 66bdcdcf8..daf23bebf 100644 --- a/web/src/js/components/contentviews/HttpMessage.tsx +++ b/web/src/js/components/contentviews/HttpMessage.tsx @@ -133,7 +133,8 @@ export default function HttpMessage({ flow, message }: HttpMessageProps) { } } -const isImage = /^image\/(png|jpe?g|gif|webp|vnc.microsoft.icon|x-icon)$/i; +const isImage = + /^image\/(png|jpe?g|gif|webp|vnc.microsoft.icon|x-icon|svg\+xml)$/i; ViewImage.matches = (msg) => isImage.test(MessageUtils.getContentType(msg) || "");