diff options
Diffstat (limited to 'keys.php')
-rw-r--r-- | keys.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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']); |