dfir-iris / iris-web

Collaborative Incident Response platform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] Bug with comments, some symbols gets HTML encoded

barn4k opened this issue · comments

Describe the bug
If I specify > or < in the comment, then everything is fine. But if they will be inside the code section, they will be encoded into &gt; and &lt; signs. That will completely break the Kusto Query (in Azure) or Splunk Query.

To Reproduce
Create new comment with something like below:

value_a > value_b
```
value_a > value_b
```
some text with inline `a > b` code

Expected behavior
the sign > will remain the same in the code section.

Screenshots
image

Desktop (please complete the following information):

  • OS: docker
  • Browser: edge
  • Version: 2.3.3