diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-03-07 20:47:34 +0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-07 20:47:34 +0600 |
commit | 0b14fd385ec337e7881e50e2f4839648123590cd (patch) | |
tree | 27abfe166b4386c539a9d1bc7961ecb9b1a2aef8 | |
parent | f54607162662f24e60fce199b74b07260f16b2d2 (diff) | |
parent | 1ef13a2419d3c3169ed1a29d10ea587506909c2c (diff) | |
download | rspamd-0b14fd385ec337e7881e50e2f4839648123590cd.tar.gz rspamd-0b14fd385ec337e7881e50e2f4839648123590cd.zip |
Merge pull request #4861 from moisseev/webui
[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"}, }; /* |