index : archweb32 | |
Archlinux32 website | gitolite user |
summaryrefslogtreecommitdiff |
-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(); } |