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
It appears like flame::dump_html writes json data to a script tag in the generated html file, without doing json or html escaping. That means that the generated page could be unable to load due to syntax errors or get incorrect values.
It appears like
flame::dump_html
writes json data to a script tag in the generated html file, without doing json or html escaping. That means that the generated page could be unable to load due to syntax errors or get incorrect values.Trying out the flamegraph in https://github.com/RustPython/RustPython, I got syntax errors in the generated data such as:
The flamegraph hade spans named
call_method("__setattr__")
, where the quotes would have to be escaped in order to be put in a javascript/json string.The text was updated successfully, but these errors were encountered: