diff options
author | moisseev <moiseev@mezonplus.ru> | 2024-03-07 15:29:46 +0300 |
---|---|---|
committer | moisseev <moiseev@mezonplus.ru> | 2024-03-07 15:29:46 +0300 |
commit | 1ef13a2419d3c3169ed1a29d10ea587506909c2c (patch) | |
tree | 27abfe166b4386c539a9d1bc7961ecb9b1a2aef8 | |
parent | f54607162662f24e60fce199b74b07260f16b2d2 (diff) | |
download | rspamd-1ef13a2419d3c3169ed1a29d10ea587506909c2c.tar.gz rspamd-1ef13a2419d3c3169ed1a29d10ea587506909c2c.zip |
[Minor] Serve SVG with the correct CT
-rw-r--r-- | src/libserver/http/http_router.c | 1 |
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"}, }; /* |