WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
24843
Webpage being mistaken for a download
https://bugs.webkit.org/show_bug.cgi?id=24843
Summary
Webpage being mistaken for a download
Christian Dywan
Reported
2009-03-26 10:05:23 PDT
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
Comment 1
2009-03-26 15:37:49 PDT
$ 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)
Comment 2
2009-04-01 10:35:03 PDT
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
Comment 3
2009-07-08 13:59:02 PDT
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)
Comment 4
2009-07-13 12:14:32 PDT
(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
Comment 5
2009-07-13 12:21:36 PDT
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
Comment 6
2010-03-24 03:55:12 PDT
This one is working fine for me in
r56329
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug