From 39d93838e5023a7197f2b9e2a65303cde4975f00 Mon Sep 17 00:00:00 2001
From: SovereigntyIsNotFreedom
Date: Thu, 10 Apr 2025 08:20:15 +0100
Subject: [PATCH] issue #49: link with status 0.0 will not be shown and
somepthere fixes for security
---
www/header.php | 6 +++++-
www/index.php | 6 +++---
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/www/header.php b/www/header.php
index 8abc7c8..aba32c0 100644
--- a/www/header.php
+++ b/www/header.php
@@ -76,7 +76,11 @@ if (!preg_match("~^(?:f|ht)tps?://~i", $data[3])) {
echo $urllink . '"> '; // display the link
echo $data[2] . '
'; // display the link title and close the a href and first cell, open the second cell
echo $data[5] . " | "; // OPTIONAL: display the description column
- echo $data[7] . " | "; // display the score and close the second cell, open the third cell
+ if ($data[7] == 0.0){
+ continue;
+ }else{
+ echo $data[7] . " | "; // display the score and close the second cell, open the third cell
+ }
if($data[6] == "YES"){
echo "✔️" ;
}else{
diff --git a/www/index.php b/www/index.php
index 2230e9c..2f8f6ef 100644
--- a/www/index.php
+++ b/www/index.php
@@ -9,12 +9,12 @@
-
+
- " />
+ " />
-
+
|