Skip to content

Commit

Permalink
Fix incorrect substring
Browse files Browse the repository at this point in the history
  • Loading branch information
micabot authored and FLinares committed Sep 30, 2015
1 parent 85b3264 commit 2510f06
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ angular.module('faradayApp')
} else if(cve > -1) {
url = "https://cve.mitre.org/cgi-bin/cvename.cgi?name=" + text.substring(cve + 4);
} else if(cwe > -1) {
url = "https://cwe.mitre.org/data/definitions/" + text.substring(cwe + 3) + ".html";
url = "https://cwe.mitre.org/data/definitions/" + text.substring(cwe + 4) + ".html";
} else if(osvdb > -1) {
url = "http://osvdb.org/show/osvdb/" + text.substring(osvdb + 6);
} else if(edb > -1) {
Expand Down

0 comments on commit 2510f06

Please sign in to comment.