mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-17 23:04:07 +01:00
added identifier confidence for issue #35
Former-commit-id: 9ce9761fa4cd842e6141973bf33e229bea208982
This commit is contained in:
@@ -578,6 +578,9 @@ Copyright (c) 2012 Jeremy Long. All Rights Reserved.
|
|||||||
#else
|
#else
|
||||||
<li><b>$esc.html($id.type):</b> $esc.html($id.value)
|
<li><b>$esc.html($id.type):</b> $esc.html($id.value)
|
||||||
#end
|
#end
|
||||||
|
#if ($id.confidence)
|
||||||
|
<i>Confidence</i>:$id.confidence
|
||||||
|
#end
|
||||||
#if ($id.type=="cpe")
|
#if ($id.type=="cpe")
|
||||||
##yes, we are HTML Encoding into JavaScript... the escape utils don't have a JS Encode and I haven't written one yet
|
##yes, we are HTML Encoding into JavaScript... the escape utils don't have a JS Encode and I haven't written one yet
|
||||||
<button class="copybutton" onclick="copyText('$esc.html($dependency.FileName)', '$esc.html($dependency.Sha1sum)', 'cpe', '$esc.html($id.value)')">suppress</button>
|
<button class="copybutton" onclick="copyText('$esc.html($dependency.FileName)', '$esc.html($dependency.Sha1sum)', 'cpe', '$esc.html($id.value)')">suppress</button>
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ Copyright (c) 2012 Jeremy Long. All Rights Reserved.
|
|||||||
#if($dependency.getIdentifiers().size()>0)
|
#if($dependency.getIdentifiers().size()>0)
|
||||||
<identifiers>
|
<identifiers>
|
||||||
#foreach($id in $dependency.getIdentifiers())
|
#foreach($id in $dependency.getIdentifiers())
|
||||||
<identifier type="$esc.xml($id.type)">
|
<identifier type="$esc.xml($id.type)" #if($id.confidence)confidence="$id.confidence"#end>
|
||||||
<name>($id.value)</name>
|
<name>($id.value)</name>
|
||||||
#if( $id.url )
|
#if( $id.url )
|
||||||
<url>$esc.xml($id.url)</url>
|
<url>$esc.xml($id.url)</url>
|
||||||
|
|||||||
Reference in New Issue
Block a user