Skip to content

Commit

Permalink
fix: remove unnecessary inline style from HTML table row in ReportsXSS
Browse files Browse the repository at this point in the history
  • Loading branch information
Kremilly committed Dec 11, 2024
1 parent fd8baa9 commit 1c38f3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/reports_xss.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ impl ReportsXSS {
let encoded_value = ReportsHandlers.html_escape(&value);

file.write_all(format!(
"<tr style=''><td>{}</td><td>{}</td><td>{}</td><td>{}</td></tr>",
"<tr><td>{}</td><td>{}</td><td>{}</td><td>{}</td></tr>",
encoded_table, row_index, encoded_column, encoded_value
).as_bytes())?;
}
Expand Down

0 comments on commit 1c38f3b

Please sign in to comment.