Skip to content

Commit

Permalink
fix: report was loading with ASCII code for the dependency name
Browse files Browse the repository at this point in the history
Signed-off-by: Olga Lavtar <[email protected]>
  • Loading branch information
olavtar committed May 31, 2024
1 parent 2b523e7 commit 862793c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ public Map<String, Object> setVariables(
}

private String sanitize(String report) {
return report.replaceAll("<script>", "\\\\<script\\\\>");
String sanitizedReport = report.replaceAll("<script>", "\\\\<script\\\\>");
sanitizedReport = sanitizedReport.replaceAll("%40", "");
return sanitizedReport;
}

private String getImageMapping() throws JsonProcessingException {
Expand Down

0 comments on commit 862793c

Please sign in to comment.