Hack in admin's base.css generates 404 to non existing 'null' file.
|Reported by:||rudolphfroger [-at-] gmail [-dot-] com||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||yes|
I can see lot's off 404 errors in my apache logs because django/contrib/admin/media/css/base.css has this:
The error in the log is like this:
[Mon Jun 05 00:15:28 2006] [error] [client 192.168.1.1] File does not exist: /home/someuser/django/trunk/django/contrib/admin/media/css/null, referer: http://media.example.com/admin/css/base.css
I know an more official way to give IE5 a special treatment in HTML, example:
<!--[if lte IE 5.0000]> <link rel="stylesheet" type="text/css" href="http://media.example.com/admin/css/ie5.css" /> <![endif]-->
But I don't know if something like this is usable in this case. Anyway IMHO it's just a minor bug so only solve it when all major bugs for a release are fixed.
Change History (11)
comment:10 Changed 7 years ago by labs@…
- Patch needs improvement set
- Resolution fixed deleted
- Status changed from closed to reopened