[wp-meta] [Making WordPress.org] #151: Plugin images are sent with wrong Content-Type
Making WordPress.org
noreply at wordpress.org
Fri Aug 30 19:04:05 UTC 2013
#151: Plugin images are sent with wrong Content-Type
---------------------+-------------------------------
Reporter: toscho | Owner:
Type: defect | Status: new
Priority: normal | Component: Plugins Directory
Resolution: | Keywords:
---------------------+-------------------------------
Comment (by nacin):
Because we use DAV, this is purely based on svn:mime-type. If the right
mime type is set for the image, then accessing it over
http://plugins.svn.wordpress.org/ will return the right mime type, and the
s-plugins mirror will mirror the same mime type. I have no idea if it is
possible to force a mime type on that mirror based on file extension, but
it's pretty "dumb" — I'd imagine not. I guess it is possible to do this in
Apache, but again, DAV makes things weird.
Wontfix? Serving application/octet-stream isn't a dealbreaker, forcing svn
:mime-type on pre-commit is lame, and I'd rather not write a bot for it.
Systems might have another idea but I doubt it.
--
Ticket URL: <http://meta.trac.wordpress.org/ticket/151#comment:2>
Making WordPress.org <http://meta.trac.wordpress.org/>
WordPress blogging software
More information about the wp-meta
mailing list