Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/keys.php
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-09-02 15:52:22 +0200
committerErich Eckner <git@eckner.net>2019-09-02 15:52:22 +0200
commit20e7385ff00d6d59f0635d1a9c6423603c15e36d (patch)
tree6c02dbf4870baabef23df48266f101a123dd5d73 /keys.php
parent369026c9ebfafb1357f941c49b35df4361f1bbee (diff)
keys.php: set correct mime type
Diffstat (limited to 'keys.php')
-rw-r--r--keys.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/keys.php b/keys.php
index baa12d8..6bf77b4 100644
--- a/keys.php
+++ b/keys.php
@@ -17,6 +17,7 @@ if (!array_key_exists('k', $_GET)) {
if (preg_match('/^[0-9A-Fa-f]{16,40}$/', $_GET['k']) !== 1)
die();
+header('Content-Type: text/plain');
$output = shell_exec('gpg -a --export ' . $_GET['k']);
print $output;