From df07a5ebb69b29faeaa60e6832416a4de695e666 Mon Sep 17 00:00:00 2001 From: Jeremy Long Date: Sun, 19 Jan 2014 09:40:16 -0500 Subject: [PATCH] added maven identifier to related dependencies Former-commit-id: f5d8b523110431e54384e71010968ed059be5478 --- .../src/main/resources/templates/HtmlReport.vsl | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/dependency-check-core/src/main/resources/templates/HtmlReport.vsl b/dependency-check-core/src/main/resources/templates/HtmlReport.vsl index 087ca0edf..ffd19c8f7 100644 --- a/dependency-check-core/src/main/resources/templates/HtmlReport.vsl +++ b/dependency-check-core/src/main/resources/templates/HtmlReport.vsl @@ -589,6 +589,17 @@ Copyright (c) 2012 Jeremy Long. All Rights Reserved.
  • File Path: $esc.html($related.FilePath)
  • SHA1: $esc.html($related.Sha1sum)
  • MD5: $esc.html($related.Md5sum)
  • + #foreach($id in $related.getIdentifiers()) + #if ($id.type=="maven") + #if( $id.url ) + ##yes, we are HTML Encoding the href. this is okay. We can't URL encode as we have to trust the analyzer here... +
  • $esc.html($id.type): $esc.html($id.value) + #else +
  • $esc.html($id.type): $esc.html($id.value) + #end +
  • + #end + #end #end