sushy-tools/sushy_tools/emulator
Ilya Etingof cc0bd13f42 Escape JSON rendered in templates
Dynamic Redfish emulator uses Jinja templates to render JSON
documents out of the values it gathers fromm the backend
hypervisor. Sometimes these hypervisor-supplied values can contain
literals that are special to JSON serialization. Unless escaped
properly, such conflicting literals will surely ruin the entire
JSON document.

This change elicits Jinja and Flask template filters that
circumvent this problem.

Change-Id: Ie3f2e1b68ab93a701adf666bdca9cf3d227c0c57
2018-11-29 18:14:16 +01:00
..
drivers Merge "Fix UEFI firmware path and connection attribute in libvirt driver" 2018-11-28 10:29:37 +00:00
templates Escape JSON rendered in templates 2018-11-29 18:14:16 +01:00
__init__.py Initial Commit 2017-04-06 17:05:16 +01:00
main.py Fix HTTP response code on errors 2018-11-15 11:13:35 +01:00