scylladb / argus

Apache License 2.0
4 stars 11 forks source link

fix(templates/base.html.j2): Do not parse JSON provided by the backend #493

Closed k0machi closed 3 weeks ago

k0machi commented 3 weeks ago

This commit fixes an issue where some users would not be able to use argus because parts of their usernames contained unescaped json sequences, which would fail JSON.parse. As a replacement, templates now receive JSON as a JS object literal.