aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormoisseev <moiseev@mezonplus.ru>2024-03-07 15:29:46 +0300
committermoisseev <moiseev@mezonplus.ru>2024-03-07 15:29:46 +0300
commit1ef13a2419d3c3169ed1a29d10ea587506909c2c (patch)
tree27abfe166b4386c539a9d1bc7961ecb9b1a2aef8
parentf54607162662f24e60fce199b74b07260f16b2d2 (diff)
downloadrspamd-1ef13a2419d3c3169ed1a29d10ea587506909c2c.tar.gz
rspamd-1ef13a2419d3c3169ed1a29d10ea587506909c2c.zip
[Minor] Serve SVG with the correct CT
-rw-r--r--src/libserver/http/http_router.c1
1 files changed, 1 insertions, 0 deletions
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"},
};
/*