Hi Didier, On Sat, 18 Jul 2015 15:50:59 +0200, Didier 'OdyX' Raboud <odyx@debian.org> wrote: > Le vendredi, 17 juillet 2015, 21.18:45 Stephen Kitt a écrit : > > The web interface is no longer styled on my system, which makes it > > somewhat harder to use than normal. Iceweasel tells me > > > > The stylesheet http://localhost:631/cups.css was not loaded > > because its MIME type, "application/x-csource", is not > > "text/css". > > I can't reproduce this here, either with iceweasel or with 'HEAD': > > $ HEAD http://localhost:631/cups.css | grep Content-Type > Content-Type: text/css I get: % HEAD http://localhost:631/cups.css | grep Content-Type Content-Type: application/x-csource > Also, this is weird, because there was a fix in 2.0.x specifically for > this: > > > Fix text/css MIME type rules (so css files don't get mistaken for C > > source) > > What does this command give on your computer? > $ grep -A5 application/x-csource /usr/share/cups/mime/mime.types % grep -A5 application/x-csource /usr/share/cups/mime/mime.types application/x-csource c cxx cpp cc C h hpp \ printable(0,1024) + ! css + \ (string(0,/*) string(0,//) string(0,#include) contains(0,1024,<0a>#include) \ string(0,#define) contains(0,1024,<0a>#define)) text/html html htm printable(0,1024) +\ Regards, Stephen
Attachment:
pgpz92TgKc0Bu.pgp
Description: OpenPGP digital signature