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
We have the issue that we can´t use < and > in files when they are used as file path arguments, otherwise they are interepreted as html tags in the HTML Report an therefore the text between < and > is missing.
Steps to reproduce
create a step which accepts file arguments for example a json object.
create a file which contains the text
execute the spec
open the file argument in the generated html report
result:
the text foobar will be invisible. When investigating the html a html tag which does nothing is shown.
Expected behavior:
Any form of input into the html should first be html escaped with implementation like org.springframework.web.util.HtmlUtils#htmlEscape or some simlar apache implementation.
Because the same issue happens when using "Gauge.writeMessage" but in this cause the developers can escape their content on their own so itś less of an issue.
The text was updated successfully, but these errors were encountered:
We have the issue that we can´t use < and > in files when they are used as file path arguments, otherwise they are interepreted as html tags in the HTML Report an therefore the text between < and > is missing.
Steps to reproduce
result:
the text foobar will be invisible. When investigating the html a html tag which does nothing is shown.
Expected behavior:
Any form of input into the html should first be html escaped with implementation like org.springframework.web.util.HtmlUtils#htmlEscape or some simlar apache implementation.
Because the same issue happens when using "Gauge.writeMessage" but in this cause the developers can escape their content on their own so itś less of an issue.
The text was updated successfully, but these errors were encountered: