[PATCH] Get rid of dialogs when visiting netvibes.com

koos vriezen koos.vriezen at gmail.com
Sun Jan 6 15:48:55 GMT 2008


2008/1/6, Allan Sandfeld Jensen <kde at carewolf.com>:
> On Sunday 06 January 2008 15:51, Aurélien Gâteau wrote:

> > It seems netvibes.com source is full of code like this:
> >
> > <iframe src="/empty.txt"></iframe>
> >
> > Each iframe causes Konqueror to show a "save, open or cancel" dialog.

> The issue is that some webservers use text/plain as fall-back when they don't
> know the correct mimetype.
> So text/plain should be treated like application/octet, that is as unknown
> mimetype when received from http, that will make the actual mimetype be
> detected by magic.
>
> So maybe the fix should be done in kio_http?

Looks to me that in this particular case, it should be treated as an
empty html file, as a hint use Content-Length: 0

Koos


More information about the kfm-devel mailing list