<?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>117194</bug_id>
          
          <creation_ts>2013-06-04 06:44:32 -0700</creation_ts>
          <short_desc>[curl] Normalize mime type information</short_desc>
          <delta_ts>2013-06-13 06:59:18 -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>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>117300</blocked>
          <everconfirmed>0</everconfirmed>
          <reporter name="Peter Gal">galpeter</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>commit-queue</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>896867</commentid>
    <comment_count>0</comment_count>
    <who name="Peter Gal">galpeter</who>
    <bug_when>2013-06-04 06:44:32 -0700</bug_when>
    <thetext>If the webserver returns an incorrect mime type (like: image/jpg) then WebKit can not display it correctly (will not decode the image).
On other network backends this mime type informations is already normalized either by using some kind of sniffing or providing a mapping to a correct mime type.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>896876</commentid>
    <comment_count>1</comment_count>
    <who name="Peter Gal">galpeter</who>
    <bug_when>2013-06-04 07:00:13 -0700</bug_when>
    <thetext>for example opening this jpg would not show the image:
http://hidefwalls.com/wp-content/g/hd-2/1600x1200_hd_wallpaper_177.jpg</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>896879</commentid>
    <comment_count>2</comment_count>
      <attachid>203692</attachid>
    <who name="Peter Gal">galpeter</who>
    <bug_when>2013-06-04 07:00:37 -0700</bug_when>
    <thetext>Created attachment 203692
proposed patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>897557</commentid>
    <comment_count>3</comment_count>
      <attachid>203692</attachid>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2013-06-05 14:28:05 -0700</bug_when>
    <thetext>Comment on attachment 203692
proposed patch

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>897571</commentid>
    <comment_count>4</comment_count>
    <who name="Peter Gal">galpeter</who>
    <bug_when>2013-06-05 15:07:37 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; (From update of attachment 203692 [details])
&gt; r=me

Could you also do a cq+ for this patch? or is there a reason against it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>897636</commentid>
    <comment_count>5</comment_count>
      <attachid>203692</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-06-05 21:18:03 -0700</bug_when>
    <thetext>Comment on attachment 203692
proposed patch

Clearing flags on attachment: 203692

Committed r151254: &lt;http://trac.webkit.org/changeset/151254&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>897637</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-06-05 21:18:04 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>203692</attachid>
            <date>2013-06-04 07:00:37 -0700</date>
            <delta_ts>2013-06-05 21:18:03 -0700</delta_ts>
            <desc>proposed patch</desc>
            <filename>curl_mimetype_normalize.patch</filename>
            <type>text/plain</type>
            <size>1309</size>
            <attacher name="Peter G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