From 680f71558548333828a36dec34250b8f7f601121 Mon Sep 17 00:00:00 2001 From: Anton Evangelatov Date: Tue, 24 Jul 2018 12:39:45 +0200 Subject: [PATCH] downloads: check that release names begin with geth (#17212) --- downloads/index.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/downloads/index.html b/downloads/index.html index 2b43f8603f..2b68272561 100644 --- a/downloads/index.html +++ b/downloads/index.html @@ -332,6 +332,12 @@ signatures[name] = true; continue; } + + // Skip any blobs that do not start with "geth" + if (!name.startsWith("geth")) { + continue; + } + // Otherwise add an entry to one of the release tables var parts = name.split("-"); var date = parts[parts.length-1].split(".")[0];