[git commit] httpd: add svg to built in MIME types list

Denys Vlasenko vda.linux at googlemail.com
Fri Jun 7 07:31:57 UTC 2019

commit: https://git.busybox.net/busybox/commit/?id=09b25ecc514c92ccc1443a2acc8f38ee081c1775
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Vicente Jimenez Aguilar <googuy at gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
 networking/httpd.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/networking/httpd.c b/networking/httpd.c
index 3f1e02ec8..b09ac0a2f 100644
--- a/networking/httpd.c
+++ b/networking/httpd.c
@@ -1726,6 +1726,7 @@ static NOINLINE void send_file_and_exit(const char *url, int what)
 			".jpg.jpeg\0" "image/jpeg\0"
 			".gif\0"      "image/gif\0"
 			".png\0"      "image/png\0"
+			".svg\0"      "image/svg+xml\0"
 			/* .css line must be after .c line */
 			".css\0"      "text/css\0"
 			".wav\0"      "audio/wav\0"

More information about the busybox-cvs mailing list