mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-30 12:59:39 +08:00
fix: xss in response json
This commit is contained in:
@@ -266,8 +266,8 @@
|
||||
{% else %}
|
||||
{{ value }}
|
||||
{% endif %}
|
||||
{% elif key == "text" %}
|
||||
<pre>{{ req_resp.response.text | e }}</pre>
|
||||
{% elif key in ["text", "json"] %}
|
||||
<pre>{{ value | e }}</pre>
|
||||
{% else %}
|
||||
{{ value }}
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user