Closed rfshelley79 closed 11 years ago
Updating snippet.graph.tpl with the following helps (other values may cause problems as well, however, may want to sanitize further):
%graph_id = graphkey.replace('.','').replace('-','').replace(' ','').replace(':','')
ok, will fix. just curious, what do you use ':' for?
fixed in f687505 properly shield graph_id from disallowed characters
just curious, what do you use ':' for?
The generated JS that's built at graph time uses the metric name as part of the variables, and if the metric name contains special characters (in our case, a ":"), the JS will throw an error.
Full eval'ed JS below, but here's the line from it that errors:
Full JS