From 1ef13a2419d3c3169ed1a29d10ea587506909c2c Mon Sep 17 00:00:00 2001 From: moisseev Date: Thu, 7 Mar 2024 15:29:46 +0300 Subject: [PATCH] [Minor] Serve SVG with the correct CT --- src/libserver/http/http_router.c | 1 + 1 file changed, 1 insertion(+) 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"}, }; /* -- 2.39.5