index : archweb32 | |
Archlinux32 website | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-09-10 08:50:11 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-09-10 08:50:11 +0200 |
commit | 5c39dfdbcb51805b8a261b2b78786fad3295cfd0 (patch) | |
tree | bf22d1ac7b4a9c69068f19ea0c29127a6527ca11 /keys.php | |
parent | 1b9b6d2600afaeb5f3d4760908978772e2fb7bc4 (diff) |
-rw-r--r-- | keys.php | 4 |
@@ -4,7 +4,7 @@ require_once "init.php"; if ($_SERVER['REQUEST_METHOD'] == 'PUT') { - print shell_exec( + shell_exec( 'echo "' . base64_encode(file_get_contents('php://input')) . '"' . @@ -12,6 +12,8 @@ if ($_SERVER['REQUEST_METHOD'] == 'PUT') { ' | gpg --import' ); + print 'done' . "\n"; + die(); } |