From: moisseev Date: Thu, 7 Mar 2024 12:29:46 +0000 (+0300) Subject: [Minor] Serve SVG with the correct CT X-Git-Tag: 3.9.0~107^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F4861%2Fhead;p=rspamd.git [Minor] Serve SVG with the correct CT --- diff --git a/src/libserver/http/http_router.c b/src/libserver/http/http_router.c index 2fdfe48aa..ad477f68f 100644 --- a/src/libserver/http/http_router.c +++ b/src/libserver/http/http_router.c @@ -44,6 +44,7 @@ static const struct _rspamd_http_magic { [HTTP_MAGIC_ICO] = {"ico", "image/x-icon"}, [HTTP_MAGIC_PNG] = {"png", "image/png"}, [HTTP_MAGIC_JPG] = {"jpg", "image/jpeg"}, + [HTTP_MAGIC_JPG] = {"svg", "image/svg+xml"}, }; /*