Skip Menu |

This queue is for tickets about the Chart-OFC CPAN distribution.

Report information
The Basics
Id: 35660
Status: open
Priority: 0/
Queue: Chart-OFC

People
Owner: Nobody in particular
Requestors: ovid [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.07
Fixed in: (no value)



Subject: Need URL Encoding Of Data
I was testing adding 'links' to data points and discovered that the link values are not URL encoded (I think all data might need to be URL encoded, but I'm unsure). With the example data from here: http://teethgrinder.co.uk/open-flash-chart/gallery-data-49.php We see that links are defined as follows (truncated): &links=javascript%3Aalert%28%22Downloads%23comma%23+Janua ... However, when I add links via Chart::OFC, I see they are defined as follows (truncated): &links=javascript:alert("http://www.yahoo.com"),javascrip ... Cheers, Ovid
On Tue May 06 06:45:40 2008, OVID wrote: Show quoted text
> I was testing adding 'links' to data points and discovered that the link > values are not URL encoded (I think all data might need to be URL > encoded, but I'm unsure).
I've just tested this and I've found that embedding an ampersand in the axis labels breaks them, so yes, it looks like all data will need to be URL encoded. Cheers, Ovid