From 366cab6b6c163021dd73cd5c8be54a47ada1e9c4 Mon Sep 17 00:00:00 2001 From: Pascal Helbig Date: Fri, 29 Jun 2018 05:09:53 +0200 Subject: [PATCH] fix confidenceTotal (#2357) --- src/wappalyzer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wappalyzer.js b/src/wappalyzer.js index 76b340ee6..273bbb28c 100644 --- a/src/wappalyzer.js +++ b/src/wappalyzer.js @@ -573,7 +573,7 @@ class Wappalyzer { app.detected = true; // Set confidence level - app.confidence[type + ' ' + ( key ? key + ' ' : '' ) + pattern.regex] = pattern.confidence === undefined ? 100 : pattern.confidence; + app.confidence[type + ' ' + ( key ? key + ' ' : '' ) + pattern.regex] = pattern.confidence === undefined ? 100 : parseInt(pattern.confidence); // Detect version number if ( pattern.version ) {