From 33fddcbfbd70fa0f5f69d1a1784cd6aa845947dd Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Thu, 11 Mar 2021 07:42:58 +0100
Subject: remove "Packages" and "Fedora Git" links, add "Koschei" link

---
 all.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'all.php')

diff --git a/all.php b/all.php
index 6c408f0..e87c469 100644
--- a/all.php
+++ b/all.php
@@ -64,8 +64,8 @@ function report ($db)
 
     if (substr($what, 0, 1)=='%') {
         $l = substr($what, 1, 1);
-        if (!ctype_alpha($l) && !ctype_digit($l)) {
-            $l = 'a';
+        if ((!ctype_alpha($l) && !ctype_digit($l)) || strlen($what)>2) {
+            die("Hmm...");
         }
         $sql = sprintf(
             "SELECT DISTINCT name
-- 
cgit