Bug 24843
Summary: | Webpage being mistaken for a download | ||
---|---|---|---|
Product: | WebKit | Reporter: | Christian Dywan <christian> |
Component: | Page Loading | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | danw, gustavo, john, svillar |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Other | ||
OS: | All | ||
URL: | http://www.gnome.org/~shaunm/pulse/web/ |
Christian Dywan
I tried to open http://www.gnome.org/~shaunm/pulse/web/ in Midori, and unexpectedly saw a 'download' dialogue. So I fired up Arora to see if the webpage was broken or WebKitGTK, and voilá, same problem. Three's the charm, so I tried Firefox as well - there it displays the webpage just fine.
The supposed MIME type is "content-type:text/html", so either libsoup's parsing or WebKit's parsing is doing something wrong here.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Alexander Butenko
$ telnet www.gnome.org 80
Trying 209.132.176.176...
Connected to window.gnome.org.
Escape character is '^]'.
GET /~shaunm/pulse/web/ HTTP/1.0
HTTP/1.1 200 OK
Date: Thu, 26 Mar 2009 22:36:08 GMT
Server: Apache/2.2.3 (Red Hat)
Connection: close
Content-Type: content-type: text/html; charset=utf-8
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
looks like a variation of bug #24750
Gustavo Noronha (kov)
According to Rik, on IRC, this also happens in Safari. I also checked with Arora (QtWebKit), and it has the same problem, so it may be a good thing to make WebCore's Content-Type parsing more robust, instead of working this around in WebKitGTK+ or libsoup.
I will try to get shaunm to fix his headers for now, though =).
John Kieken
I just started seeing this a day or two ago. Using the latest build for PPC.
It downloads a small blank file named Desktop-1-1, Desktop-2-1, etc to the root User level directory and then also creates a small folder named Desktop-1, Desktop-2, etc. inside the specific user's Home directory.
Certain pages cause this every time.
Mostly news sites but here is a blog that's doing it reliably and repeatably...
http://michellemalkin.com/2009/07/08/confirmed-deliberative-democracy-is-a-joke/
Gustavo Noronha (kov)
(In reply to comment #3)
> I just started seeing this a day or two ago. Using the latest build for PPC.
>
> It downloads a small blank file named Desktop-1-1, Desktop-2-1, etc to the root
> User level directory and then also creates a small folder named Desktop-1,
> Desktop-2, etc. inside the specific user's Home directory.
>
> Certain pages cause this every time.
>
> Mostly news sites but here is a blog that's doing it reliably and repeatably...
>
> http://michellemalkin.com/2009/07/08/confirmed-deliberative-democracy-is-a-joke/
Can you try with WebKitGTK+ 1.1.11? This should be now fixed.
John Kieken
Quote Gustavo Noronha: "Can you try with WebKitGTK+ 1.1.11? This should be now fixed."
I have no idea what WebKitGTK+ 1.1.11 is supposed to be.
But I can tell you that the problem is still there with the latest build.
Version 4.0 (4530.17, r45788)
Sergio Villar Senin
This one is working fine for me in r56329