<?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>31008</bug_id>
          
          <creation_ts>2009-11-02 04:31:52 -0800</creation_ts>
          <short_desc>[Gtk] A PNG image from chart.apis.google.com is not displayed</short_desc>
          <delta_ts>2010-02-12 04:49:10 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Images</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</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>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Pacho Ramos">pachoramos1</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>danw</cc>
    
    <cc>xan.lopez</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>159777</commentid>
    <comment_count>0</comment_count>
    <who name="Pacho Ramos">pachoramos1</who>
    <bug_when>2009-11-02 04:31:52 -0800</bug_when>
    <thetext>I get this behavior with midori and epiphany-2.28 with webkit 1.1.15.2 while it works fine from firefox

Try to vote in:
http://www.publico.es/votarEncuesta?idEncuesta=260&amp;res=freemarker&amp;idRespuesta=1114#encuesta

and you will see that image with results is not shown at all

The image is:
http://chart.apis.google.com/chart?cht=bvs&amp;chbh=121,10,20&amp;chs=262x190&amp;chco=B0113A,E6E6E6&amp;chl=90%|10%&amp;chd=t:90,0|0,10

and you will see that it cannot be shown by webkit browsers while it&apos;s shown on from firefox

Thanks</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>189991</commentid>
    <comment_count>1</comment_count>
    <who name="Xan Lopez">xan.lopez</who>
    <bug_when>2010-02-12 02:32:09 -0800</bug_when>
    <thetext>Works fine in Chromium, FWIW.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>189992</commentid>
    <comment_count>2</comment_count>
    <who name="Xan Lopez">xan.lopez</who>
    <bug_when>2010-02-12 02:34:35 -0800</bug_when>
    <thetext>Looks like a libsoup bug, maybe in SoupURI:

./get does not work

niraikanai:~/git/libsoup/tests%./get &quot;http://chart.apis.google.com/chart?cht=bvs&amp;chbh=121,10,20&amp;chs=262x190&amp;chco=B0113A,E6E6E6&amp;chl=90%|10%&amp;chd=t:90,0|0,10&quot;
Could not parse &apos;http://chart.apis.google.com/chart?cht=bvs&amp;chbh=121,10,20&amp;chs=262x190&amp;chco=B0113A,E6E6E6&amp;chl=90%|10%&amp;chd=t:90,0|0,10&apos; as a URL


wget does


niraikanai:~/git/libsoup/tests%wget &quot;http://chart.apis.google.com/chart?cht=bvs&amp;chbh=121,10,20&amp;chs=262x190&amp;chco=B0113A,E6E6E6&amp;chl=90%|10%&amp;chd=t:90,0|0,10&quot;
--2010-02-12 12:34:05--  http://chart.apis.google.com/chart?cht=bvs&amp;chbh=121,10,20&amp;chs=262x190&amp;chco=B0113A,E6E6E6&amp;chl=90%25%7C10%25&amp;chd=t:90,0%7C0,10
Resolving chart.apis.google.com... 74.125.79.101, 74.125.79.100, 74.125.79.102
Connecting to chart.apis.google.com|74.125.79.101|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1480 (1.4K) [image/png]
Saving to: “chart?cht=bvs&amp;chbh=121,10,20&amp;chs=262x190&amp;chco=B0113A,E6E6E6&amp;chl=90%|10%&amp;chd=t:90,0|0,10.1”

100%[=================================================================================================&gt;] 1,480       --.-K/s   in 0s      

2010-02-12 12:34:05 (113 MB/s) - “chart?cht=bvs&amp;chbh=121,10,20&amp;chs=262x190&amp;chco=B0113A,E6E6E6&amp;chl=90%|10%&amp;chd=t:90,0|0,10.1” saved [1480/1480]

niraikanai:~/git/libsoup/tests%file chart\?cht=bvs\&amp;chbh=121,10,20\&amp;chs=262x190\&amp;chco=B0113A,E6E6E6\&amp;chl=90%\|10%\&amp;chd=t:90,0\|0,10
chart?cht=bvs&amp;chbh=121,10,20&amp;chs=262x190&amp;chco=B0113A,E6E6E6&amp;chl=90%|10%&amp;chd=t:90,0|0,10: PNG image, 262 x 190, 8-bit/color RGB, non-interlaced
niraikanai:~/git/libsoup/tests%</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>189994</commentid>
    <comment_count>3</comment_count>
    <who name="Xan Lopez">xan.lopez</who>
    <bug_when>2010-02-12 02:57:04 -0800</bug_when>
    <thetext>The problem is that the URL is using &apos;%&apos; as data without escaping it, which libsoup does not accept (following the RFC). What others do, like wget, is auto-escape when they figure out the character is not being used in the context of percent-escaping.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>190011</commentid>
    <comment_count>4</comment_count>
    <who name="Xan Lopez">xan.lopez</who>
    <bug_when>2010-02-12 04:34:00 -0800</bug_when>
    <thetext>I have opened bug https://bugzilla.gnome.org/show_bug.cgi?id=609731 upstream to track this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>190015</commentid>
    <comment_count>5</comment_count>
    <who name="Pacho Ramos">pachoramos1</who>
    <bug_when>2010-02-12 04:49:10 -0800</bug_when>
    <thetext>Thanks a lot</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>