index : archweb32 | |
Archlinux32 website | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | keys.php | 2 |
@@ -4,7 +4,7 @@ require_once "init.php"; if (!array_key_exists('k', $_GET)) die(); -if (preg_match('/^[0-9A-Fa-f]{40}$/', $_GET['k']) === false) +if (preg_match('/^[0-9A-Fa-f]{16,40}$/', $_GET['k']) !== 1) die(); $output = shell_exec('gpg -a --export ' . $_GET['k']); |