Images are always served with an image/jpeg content type

Bug #1252037 reported by François Marier on 2013-11-17
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Libravatar
Medium
Unassigned

Bug Description

As reported on the Debian bug tracker:

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=729764

images, are always given the default (image/jpeg) content type.

It doesn't seem to matter when displayed in a browser, but it will break any other application that makes use of it.

It's not clear how we could fix it because while we have the real mime type in the database, the mirrors don't have access to the DB. The file extension is also gone, so all Apache has to rely on is the default mime type set here:

  https://gitorious.org/libravatar/libravatar/source/af9deeea2e8ce1f0c33ea1ee06b43809fd167ed7:config/cdn-common.apache2.conf#L127

summary: - Images are always given an image/jpeg content type
+ Images are always served with an image/jpeg content type
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers