You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So options should be put through JSON.parse() to validate it
This will throw an error if the JSON includes callback functions.
Is there a way to set a flag in Highcharter to validate the JSON at point of creation or disable use of callback functions?
This would mean it won't be a problem later in the process, when trying to use it with Highcharts and a strict security policy?
The text was updated successfully, but these errors were encountered:
Highcharts recommends only using valid JSON for chart options if the origin of the code can't be trusted.
https://www.highcharts.com/docs/chart-concepts/security
So options should be put through
JSON.parse()
to validate itThis will throw an error if the JSON includes callback functions.
Is there a way to set a flag in Highcharter to validate the JSON at point of creation or disable use of callback functions?
This would mean it won't be a problem later in the process, when trying to use it with Highcharts and a strict security policy?
The text was updated successfully, but these errors were encountered: