﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>FusionCharts Forum / FusionCharts v3 / Using FusionCharts / Installation and Upgrades  / V 3.0.5 Problem / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>FusionCharts Forum</description><link>http://www.fusioncharts.com/forum/</link><webMaster>support@fusioncharts.com</webMaster><lastBuildDate>Wed, 03 Dec 2008 02:32:36 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: V 3.0.5 Problem</title><link>http://www.fusioncharts.com/forum/Topic3741-27-1.aspx</link><description>Hi,&lt;P&gt;I am afraid, you might be using absolute url for the XML path. e.g. "&lt;A href="http://www.cdn.mydomain.com/x.xml"&gt;http://www.cdn.mydomain.com/x.xml&lt;/A&gt;" . This is blocked by FusionCharts to prevent XSS attacks.&lt;BR&gt; &lt;BR&gt;Could you please let us know, whether you can use JavaScript (DHTML) in the page? In that case you can use XMLHTTP object from JavaScript to get the XML and update the chart using setDataXML() function.</description><pubDate>Thu, 31 Jul 2008 05:06:25 GMT</pubDate><dc:creator>Rahul Kumar</dc:creator></item><item><title>RE: V 3.0.5 Problem</title><link>http://www.fusioncharts.com/forum/Topic3741-27-1.aspx</link><description>&lt;P style="BACKGROUND: white"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #1f5080; FONT-FAMILY: 'Verdana','sans-serif'"&gt;I have a different problem but is very similar...&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="BACKGROUND: white"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #1f5080; FONT-FAMILY: 'Verdana','sans-serif'"&gt;For speed benefits I have loaded the fusionCharts swfs onto our CDN (think akamai, limelight, etc) [ex url cdn.mydomain.com].  Assuming that our CDN only serves static files i can't put the relayer (proxy) code on that subdomain.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="BACKGROUND: white"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #1f5080; FONT-FAMILY: 'Verdana','sans-serif'"&gt;How can I place the swf on a subdomain that does NOT have the ability to run code? (jsp, asp, php, none)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="BACKGROUND: white"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #1f5080; FONT-FAMILY: 'Verdana','sans-serif'"&gt;currently the code that is generating the dataXML is located on &lt;A href="http://www.mydomain.com/"&gt;&lt;FONT color=#0000ff&gt;www.mydomain.com&lt;/FONT&gt;&lt;/A&gt;?  But both are in the same parent domain [mydomain.com], and I've loaded the crossdamain.xml into my web server so that the flash [loaded from cdn.mydomain.com] can make requests from the webpage to my server.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="BACKGROUND: white"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #1f5080; FONT-FAMILY: 'Verdana','sans-serif'"&gt;fusionCharts is blocking a subdomain request that even adobe flash is allowing (once configured/allowed)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;</description><pubDate>Thu, 31 Jul 2008 03:54:17 GMT</pubDate><dc:creator>clikthrough</dc:creator></item><item><title>RE: V 3.0.5 Problem</title><link>http://www.fusioncharts.com/forum/Topic3741-27-1.aspx</link><description>Very cool. Thanks for the examples!</description><pubDate>Sat, 26 Apr 2008 22:50:37 GMT</pubDate><dc:creator>acrolite</dc:creator></item><item><title>RE: V 3.0.5 Problem</title><link>http://www.fusioncharts.com/forum/Topic3741-27-1.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;You can use this code to relay XML using ASP.NET :&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;U&gt;C#.NET CODE ASP.NET 2.0&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&amp;lt;%&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;@&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;Page&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;Language&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;="C#"&lt;/FONT&gt;&lt;FONT size=2&gt; %&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;P&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;script&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;runat&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;="server"&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;    protected&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;void&lt;/FONT&gt;&lt;FONT size=2&gt; Page_Load(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;object&lt;/FONT&gt;&lt;FONT size=2&gt; sender, &lt;/FONT&gt;&lt;FONT color=#008080 size=2&gt;EventArgs&lt;/FONT&gt;&lt;FONT size=2&gt; e)&lt;/P&gt;&lt;P&gt;    {&lt;/P&gt;&lt;P&gt;        System.Xml.&lt;/FONT&gt;&lt;FONT color=#008080 size=2&gt;XmlDocument&lt;/FONT&gt;&lt;FONT size=2&gt; xmlDoc=&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;FONT size=2&gt; System.Xml.&lt;/FONT&gt;&lt;FONT color=#008080 size=2&gt;XmlDocument&lt;/FONT&gt;&lt;FONT size=2&gt;();&lt;/P&gt;&lt;P&gt;        xmlDoc.Load(&lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"http://www.fusioncharts.com/Gallery/Data/Col3D1.xml"&lt;/FONT&gt;&lt;FONT size=2&gt;);&lt;/P&gt;&lt;P&gt;        Response.ContentType = &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"text/xml"&lt;/FONT&gt;&lt;FONT size=2&gt;;&lt;/P&gt;&lt;P&gt;        Response.Write(xmlDoc.OuterXml);&lt;/P&gt;&lt;P&gt;    }&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;P&gt;&amp;lt;/&lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;script&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;U&gt;VB.NET CODE ASP.NET 2.0&lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT size=2&gt;&lt;P&gt;&amp;lt;%&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;@&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;Page&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;Language&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;="VB"&lt;/FONT&gt;&lt;FONT size=2&gt; %&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;P&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;script&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;runat&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;="server"&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;    Protected&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Sub&lt;/FONT&gt;&lt;FONT size=2&gt; Page_Load(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;ByVal&lt;/FONT&gt;&lt;FONT size=2&gt; sender &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Object&lt;/FONT&gt;&lt;FONT size=2&gt;, &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;ByVal&lt;/FONT&gt;&lt;FONT size=2&gt; e &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; System.EventArgs) &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Handles&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.Load&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;        Dim&lt;/FONT&gt;&lt;FONT size=2&gt; xmlDoc &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;New&lt;/FONT&gt;&lt;FONT size=2&gt; System.Xml.XmlDocument&lt;/P&gt;&lt;P&gt;        xmlDoc.Load(&lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"http://www.fusioncharts.com/Gallery/Data/Col3D1.xml"&lt;/FONT&gt;&lt;FONT size=2&gt;)&lt;/P&gt;&lt;P&gt;        Response.ContentType = &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"text/xml"&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;        Response.Write(xmlDoc.OuterXml)&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;    End&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Sub&lt;/P&gt;&lt;P&gt;&amp;lt;/&lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;script&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description><pubDate>Fri, 25 Apr 2008 15:31:29 GMT</pubDate><dc:creator>Sudipto Choudhury</dc:creator></item><item><title>RE: V 3.0.5 Problem</title><link>http://www.fusioncharts.com/forum/Topic3741-27-1.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;We also have some relyer code for ASP :&lt;/P&gt;&lt;P&gt;&amp;lt;&lt;A href='mailto:%@LANGUAGE="VBSCRIPT'&gt;%@LANGUAGE="VBSCRIPT&lt;/A&gt;" CODEPAGE="65001"%&amp;gt;&lt;BR&gt;&amp;lt;%&lt;BR&gt;  Dim xmlhttp&lt;BR&gt;  Set xmlhttp = Server.CreateObject("Microsoft.XMLHTTP")&lt;BR&gt;  xmlhttp.Open "GET", "&lt;A href="http://www.fusioncharts.com/Gallery/Data/Col3D1.xml"&gt;http://www.fusioncharts.com/Gallery/Data/Col3D1.xml&lt;/A&gt;", false&lt;BR&gt;  xmlhttp.Send&lt;BR&gt;  response.ContentType="text/xml"&lt;BR&gt;  response.write(xmlhttp.ResponseText)&lt;BR&gt;%&amp;gt;&lt;/P&gt;&lt;P&gt;Hope ASP.NET VB/C# would be easier.</description><pubDate>Fri, 25 Apr 2008 14:58:57 GMT</pubDate><dc:creator>Sudipto Choudhury</dc:creator></item><item><title>RE: V 3.0.5 Problem</title><link>http://www.fusioncharts.com/forum/Topic3741-27-1.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;Could you try this relay PHP code?&lt;/P&gt;&lt;P&gt;&amp;lt;?php&lt;BR&gt;$xmlDoc = new DOMDocument();&lt;BR&gt;$xmlDoc-&amp;gt;load("&lt;A href="http://www.fusioncharts.com/Gallery/Data/Col3D1.xml"&gt;http://www.fusioncharts.com/Gallery/Data/Col3D1.xml&lt;/A&gt;");&lt;BR&gt;header('Content-type: text/xml');&lt;BR&gt;echo $xmlDoc-&amp;gt;saveXML();&lt;BR&gt;?&amp;gt;&lt;/P&gt;&lt;P&gt;The code loads an XML from another domain with absolute path and prints the XML. Hence, it work as a relayer.</description><pubDate>Fri, 25 Apr 2008 14:11:29 GMT</pubDate><dc:creator>Sudipto Choudhury</dc:creator></item><item><title>RE: V 3.0.5 Problem</title><link>http://www.fusioncharts.com/forum/Topic3741-27-1.aspx</link><description>I'm in the same situation and would love to see an example of what the relay page does. Thanks.</description><pubDate>Fri, 25 Apr 2008 09:42:02 GMT</pubDate><dc:creator>acrolite</dc:creator></item><item><title>RE: V 3.0.5 Problem</title><link>http://www.fusioncharts.com/forum/Topic3741-27-1.aspx</link><description>I am also having this same problem and the new XSS protection is breaking our live production site. &lt;br&gt;&lt;br&gt;Is there any way to disable this "feature" until we are able to create a workaround?</description><pubDate>Fri, 21 Mar 2008 17:42:30 GMT</pubDate><dc:creator>augustd</dc:creator></item><item><title>RE: V 3.0.5 Problem</title><link>http://www.fusioncharts.com/forum/Topic3741-27-1.aspx</link><description>So each of our web servers would have a Relayer.aspx, or Relayer.jsp in our case. Can you provide some pseudo code for what this file would do?&lt;br&gt;&lt;br&gt;Also, what would the dataURL look like in the object tag? It would point to Relayer.jsp??&lt;br&gt;&lt;br&gt;Like this?&lt;br&gt;... value="&amp;dataURL=/Relayer.jsp"</description><pubDate>Thu, 10 Jan 2008 11:34:33 GMT</pubDate><dc:creator>ooper</dc:creator></item><item><title>RE: V 3.0.5 Problem</title><link>http://www.fusioncharts.com/forum/Topic3741-27-1.aspx</link><description>Hi Brian,&lt;br&gt;&lt;br&gt;We had to take this decision to disallow absolute URLs in FusionCharts, owing to an XSS attack vunlerability. In this, a malicious user could host a phishing website and then call FusionCharts SWFs from a valid website (over HTTP). Thereafter, as the dataURL of the same, he could pass some script or absolute URLs to other "evil" scripts which could get him access to cookies of the valid domain. &lt;br&gt;&lt;br&gt;A way to overcome absolute URL problem would be to host a relative proxy file like Relayer.aspx, which in turn could fetch the data from remote page and pass it to the chart.</description><pubDate>Thu, 10 Jan 2008 02:56:23 GMT</pubDate><dc:creator>Pallav</dc:creator></item><item><title>V 3.0.5 Problem</title><link>http://www.fusioncharts.com/forum/Topic3741-27-1.aspx</link><description>Hey,&lt;br&gt;I need to use absolute URLs for the dataURL parameter.&lt;br&gt;&lt;br&gt;Here is my situation:&lt;br&gt;I have multiple web server machines that service XML requests. A client does not know which server he is talking to when he makes a web service call. He just sends the request to http://www.mycompany.com/webService and our load balancer sends the request to one of the servers. &lt;br&gt;&lt;br&gt;The XML responses is then sent back to the client. Part of the XML response has the object tag for the flash chart with the dataURL parameter in it. This has to be an absolute URL, since the xml data file is only sitting on one of the multiple servers we have. A subsequent call to a relative URL to get the data file may not get routed to the same server through the load balancer.&lt;br&gt;&lt;br&gt;If you can think of a way to resolve this, please advise, otherwise I am forced to remain on the older version until there is an option to use absolute URLs.&lt;br&gt;&lt;br&gt;I don't want to use the dataXML option because of the limitations described in the documentation.&lt;br&gt;Requiring sessions with our clients is not a solution. The web services must remain stateless. &lt;br&gt;&lt;br&gt;Please add an option to allow for absolute URLs. By the way, what is the security risk?&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;Brian Barnett</description><pubDate>Wed, 09 Jan 2008 22:17:32 GMT</pubDate><dc:creator>ooper</dc:creator></item></channel></rss>