WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 31008
[Gtk] A PNG image from chart.apis.google.com is not displayed
https://bugs.webkit.org/show_bug.cgi?id=31008
Summary
[Gtk] A PNG image from chart.apis.google.com is not displayed
Pacho Ramos
Reported
2009-11-02 04:31:52 PST
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&res=freemarker&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&chbh=121,10,20&chs=262x190&chco=B0113A,E6E6E6&chl=90%|10%&chd=t:90,0|0,10
and you will see that it cannot be shown by webkit browsers while it's shown on from firefox Thanks
Attachments
Add attachment
proposed patch, testcase, etc.
Xan Lopez
Comment 1
2010-02-12 02:32:09 PST
Works fine in Chromium, FWIW.
Xan Lopez
Comment 2
2010-02-12 02:34:35 PST
Looks like a libsoup bug, maybe in SoupURI: ./get does not work niraikanai:~/git/libsoup/tests%./get "
http://chart.apis.google.com/chart?cht=bvs&chbh=121,10,20&chs=262x190&chco=B0113A,E6E6E6&chl=90%|10%&chd=t:90,0|0,10
" Could not parse '
http://chart.apis.google.com/chart?cht=bvs&chbh=121,10,20&chs=262x190&chco=B0113A,E6E6E6&chl=90%|10%&chd=t:90,0|0,10
' as a URL wget does niraikanai:~/git/libsoup/tests%wget "
http://chart.apis.google.com/chart?cht=bvs&chbh=121,10,20&chs=262x190&chco=B0113A,E6E6E6&chl=90%|10%&chd=t:90,0|0,10
" --2010-02-12 12:34:05--
http://chart.apis.google.com/chart?cht=bvs&chbh=121,10,20&chs=262x190&chco=B0113A,E6E6E6&chl=90%25%7C10%25&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&chbh=121,10,20&chs=262x190&chco=B0113A,E6E6E6&chl=90%|10%&chd=t:90,0|0,10.1” 100%[=================================================================================================>] 1,480 --.-K/s in 0s 2010-02-12 12:34:05 (113 MB/s) - “chart?cht=bvs&chbh=121,10,20&chs=262x190&chco=B0113A,E6E6E6&chl=90%|10%&chd=t:90,0|0,10.1” saved [1480/1480] niraikanai:~/git/libsoup/tests%file chart\?cht=bvs\&chbh=121,10,20\&chs=262x190\&chco=B0113A,E6E6E6\&chl=90%\|10%\&chd=t:90,0\|0,10 chart?cht=bvs&chbh=121,10,20&chs=262x190&chco=B0113A,E6E6E6&chl=90%|10%&chd=t:90,0|0,10: PNG image, 262 x 190, 8-bit/color RGB, non-interlaced niraikanai:~/git/libsoup/tests%
Xan Lopez
Comment 3
2010-02-12 02:57:04 PST
The problem is that the URL is using '%' 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.
Xan Lopez
Comment 4
2010-02-12 04:34:00 PST
I have opened bug
https://bugzilla.gnome.org/show_bug.cgi?id=609731
upstream to track this.
Pacho Ramos
Comment 5
2010-02-12 04:49:10 PST
Thanks a lot
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