I'm running into this client-side Javascript error. It looks to me
like the code in "format+en,default,table.I.js" can't handle data
source URLs containing encoded Unicode characters, or maybe URLs of
120 characters or more. What are your thoughts?


* How to reproduce *
Use the standard Javascript code for hitting a server-side data
source. Include some URL-encoded Unicode characters:
--------------------------------------
var url = '/plus_reports/get_top_posts?terms=%23%u3054%u3061%u305D
%u3046%u30D5%u30A9%u30C8&start_date=2012-01-23&end_date=2012-01-29';
var query = new google.visualization.Query(url);
--------------------------------------

* Result *
When the second line above executes, an error of type "Uncaught
URIError: URI malformed" is generated. This thrown by line 135 in the
file "format+en,default,table.I.js". The server-side data source URL
is never called.

* Expected result *
I would expect the URL to be called, instead of an error generated.

* Note *
Hitting the same URL but without the URL-encoded Unicode characters
works fine. No error is thrown and the server gets the call.
--------------------------------------
var url = '/plus_reports/get_top_posts?terms=
%23chromies&start_date=2012-01-23&end_date=2012-01-29';
var query = new google.visualization.Query(url);
--------------------------------------


Martin

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to