summaryrefslogtreecommitdiffstats
path: root/all.php
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-03-11 07:42:58 +0100
committerRemi Collet <remi@remirepo.net>2021-03-11 07:42:58 +0100
commit33fddcbfbd70fa0f5f69d1a1784cd6aa845947dd (patch)
treeffa755461770f94013f9af2b79cb56d03bf47cd3 /all.php
parentec5b8ede42a7171f55b8668f07b0570ba3c513de (diff)
remove "Packages" and "Fedora Git" links, add "Koschei" link
Diffstat (limited to 'all.php')
-rw-r--r--all.php4
1 files changed, 2 insertions, 2 deletions
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