index : archweb32 | |
Archlinux32 website | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-09-02 15:24:42 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-09-02 15:24:42 +0200 |
commit | 833379e7d4c586c25b3d87cb6e7b3eb8bd7a0f96 (patch) | |
tree | 91175bc4d7913a75c1fd1e4dbd18c1b109bdeb6a /keys.php | |
parent | 368bf08c7831cf183a0fa3a7a8d8d30851152a54 (diff) |
-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']); |