diff options
author | moisseev <moiseev@mezonplus.ru> | 2024-03-07 21:28:03 +0300 |
---|---|---|
committer | moisseev <moiseev@mezonplus.ru> | 2024-03-07 21:28:03 +0300 |
commit | e6bde4044a30c89ae9cf14af1db8e25dd32e5437 (patch) | |
tree | f7ed03b55d08e9e1fbf1722870327f801ab4565b /src/libserver/http | |
parent | a7776b19ce9bcb71e8309b94bd108274e256aa95 (diff) | |
download | rspamd-e6bde4044a30c89ae9cf14af1db8e25dd32e5437.tar.gz rspamd-e6bde4044a30c89ae9cf14af1db8e25dd32e5437.zip |
[Minor] Add HTTP_MAGIC_SVG key
Diffstat (limited to 'src/libserver/http')
-rw-r--r-- | src/libserver/http/http_router.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libserver/http/http_router.c b/src/libserver/http/http_router.c index ad477f68f..1375bf69c 100644 --- a/src/libserver/http/http_router.c +++ b/src/libserver/http/http_router.c @@ -30,7 +30,8 @@ enum http_magic_type { HTTP_MAGIC_JS, HTTP_MAGIC_ICO, HTTP_MAGIC_PNG, - HTTP_MAGIC_JPG + HTTP_MAGIC_JPG, + HTTP_MAGIC_SVG }; static const struct _rspamd_http_magic { @@ -44,7 +45,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"}, + [HTTP_MAGIC_SVG] = {"svg", "image/svg+xml"}, }; /* |