<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>24843</bug_id>
          
          <creation_ts>2009-03-26 10:05:23 -0700</creation_ts>
          <short_desc>Webpage being mistaken for a download</short_desc>
          <delta_ts>2010-03-24 03:55:12 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Page Loading</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>http://www.gnome.org/~shaunm/pulse/web/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Christian Dywan">christian</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>danw</cc>
    
    <cc>gustavo</cc>
    
    <cc>john</cc>
    
    <cc>svillar</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>115343</commentid>
    <comment_count>0</comment_count>
    <who name="Christian Dywan">christian</who>
    <bug_when>2009-03-26 10:05:23 -0700</bug_when>
    <thetext>I tried to open http://www.gnome.org/~shaunm/pulse/web/ in Midori, and unexpectedly saw a &apos;download&apos; dialogue. So I fired up Arora to see if the webpage was broken or WebKitGTK, and voilá, same problem. Three&apos;s the charm, so I tried Firefox as well - there it displays the webpage just fine.

The supposed MIME type is &quot;content-type:text/html&quot;, so either libsoup&apos;s parsing or WebKit&apos;s parsing is doing something wrong here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115437</commentid>
    <comment_count>1</comment_count>
    <who name="Alexander Butenko">a.butenka</who>
    <bug_when>2009-03-26 15:37:49 -0700</bug_when>
    <thetext>$ telnet www.gnome.org 80
Trying 209.132.176.176...
Connected to window.gnome.org.
Escape character is &apos;^]&apos;.
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

&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01//EN&quot; &quot;http://www.w3.org/TR/html4/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;


looks like a variation of bug #24750</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116182</commentid>
    <comment_count>2</comment_count>
    <who name="Gustavo Noronha (kov)">gustavo</who>
    <bug_when>2009-04-01 10:35:03 -0700</bug_when>
    <thetext>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&apos;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 =).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>130497</commentid>
    <comment_count>3</comment_count>
    <who name="John Kieken">john</who>
    <bug_when>2009-07-08 13:59:02 -0700</bug_when>
    <thetext>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&apos;s Home directory.

Certain pages cause this every time.

Mostly news sites but here is a blog that&apos;s doing it reliably and repeatably...

http://michellemalkin.com/2009/07/08/confirmed-deliberative-democracy-is-a-joke/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>131373</commentid>
    <comment_count>4</comment_count>
    <who name="Gustavo Noronha (kov)">gustavo</who>
    <bug_when>2009-07-13 12:14:32 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; I just started seeing this a day or two ago.  Using the latest build for PPC.
&gt; 
&gt; It downloads a small blank file named Desktop-1-1, Desktop-2-1, etc to the root
&gt; User level directory and then also creates a small folder named Desktop-1,
&gt; Desktop-2, etc. inside the specific user&apos;s Home directory.
&gt; 
&gt; Certain pages cause this every time.
&gt; 
&gt; Mostly news sites but here is a blog that&apos;s doing it reliably and repeatably...
&gt; 
&gt; 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>131377</commentid>
    <comment_count>5</comment_count>
    <who name="John Kieken">john</who>
    <bug_when>2009-07-13 12:21:36 -0700</bug_when>
    <thetext>Quote Gustavo Noronha:  &quot;Can you try with WebKitGTK+ 1.1.11? This should be now fixed.&quot;

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)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>203374</commentid>
    <comment_count>6</comment_count>
    <who name="Sergio Villar Senin">svillar</who>
    <bug_when>2010-03-24 03:55:12 -0700</bug_when>
    <thetext>This one is working fine for me in r56329</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>