]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Serve SVG with the correct CT 4861/head
authormoisseev <moiseev@mezonplus.ru>
Thu, 7 Mar 2024 12:29:46 +0000 (15:29 +0300)
committermoisseev <moiseev@mezonplus.ru>
Thu, 7 Mar 2024 12:29:46 +0000 (15:29 +0300)
src/libserver/http/http_router.c

index 2fdfe48aaead9156a92e2e39ef6922203ccaf3bf..ad477f68fa41a46f160215f7d4ad9c758d05417a 100644 (file)
@@ -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"},
 };
 
 /*