On Tue, 18 Oct 2011 22:35:12 +0100, David J. Ruck wrote:
On 18/10/2011 19:46, Chris Young wrote:
> On Tue, 18 Oct 2011 09:43:01 +0100, John-Mark Bell wrote:
>> What is happening is that Pluto fails to rewrite the image reference in
>> the HTML document, so NetSurf attempts to fetch a file that doesn't
>> exist, and instead builds an error page, which then generates the
>> BadType report.
> Should NetSurf perhaps be returning a "bad image" image instead of an
> HTML error, if the request which causes the error to be generated was
> expecting an object of type image/* ?
But if I understand the problem correctly, what is happening here is
that with ImageFS active the file ADFS::$.Somewhere.Image/BMP is no
longer a file, but a directory containing an sprite file. Therefore
NetSurf isn't just getting a broken link or bad image format, but is
being given a URL of a directory which is invalid HTML.
I was referring to the case where ImageFS wasn't being used, and
NetSurf was legitimately reading corrupt or missing files. If you are
running patches that transpose files into directories containing other
files, then quite frankly I'm surprised it works at all.