Opened 9 years ago

Closed 9 years ago

#56 closed enhancement (fixed)

MIME type image/svg+xml for filename extension .svgz

Reported by: Steffen Weber Owned by: somebody
Priority: trivial Milestone:
Component: nginx-core Version: 1.1.x
Keywords: svg svgz mime Cc:
uname -a: Linux cbdev 3.1.1 #1 SMP Sat Nov 12 18:05:07 CET 2011 x86_64 Intel(R) Core(TM)2 Duo CPU T9400 @ 2.53GHz GenuineIntel GNU/Linux
nginx -V: nginx version: nginx/1.1.8
TLS SNI support enabled
configure arguments: --prefix=/usr --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error_log --pid-path=/var/run/nginx.pid --lock-path=/var/lock/nginx.lock --user=nginx --group=nginx --with-cc-opt=-I/usr/include --with-ld-opt=-L/usr/lib --http-log-path=/var/log/nginx/access_log --http-client-body-temp-path=/var/tmp/nginx/client --http-proxy-temp-path=/var/tmp/nginx/proxy --http-fastcgi-temp-path=/var/tmp/nginx/fastcgi --http-scgi-temp-path=/var/tmp/nginx/scgi --http-uwsgi-temp-path=/var/tmp/nginx/uwsgi --with-ipv6 --with-pcre --without-http_autoindex_module --without-http_browser_module --without-http_empty_gif_module --without-http_geo_module --without-http_limit_req_module --without-http_limit_zone_module --without-http_map_module --without-http_memcached_module --without-http_proxy_module --without-http_scgi_module --without-http_ssi_module --without-http_split_clients_module --without-http_upstream_ip_hash_module --without-http_userid_module --without-http_uwsgi_module --with-http_gzip_static_module --with-http_mp4_module --with-http_stub_status_module --with-http_realip_module --with-http_ssl_module --without-mail_imap_module --without-mail_pop3_module --without-mail_smtp_module

Description

The default mime.types contains:

image/svg+xml svg;

IMO "svgz" should be added:

image/svg+xml svg svgz;

Wikipedia lists ".svgz" as a valid filename extension for gzipped SVG files: http://en.wikipedia.org/wiki/Scalable_Vector_Graphics

Change History (1)

comment:1 by maxim, 9 years ago

Resolution: fixed
Status: newclosed

In [4302/nginx]:

(The changeset message doesn't reference this ticket)

Note: See TracTickets for help on using tickets.