aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcel <cel@lOUVT+Phkvai9a/cCS/RKo+S9hnPAQdVixms/7ldpPA=.ed25519>2020-05-20 22:28:01 -0400
committercel <cel@lOUVT+Phkvai9a/cCS/RKo+S9hnPAQdVixms/7ldpPA=.ed25519>2020-05-20 22:28:01 -0400
commitebd7c25ca229268578b858a03f6f4ee89216841b (patch)
tree393c294be7b4ce3b8ea882b1c9a61329326ad3c9
parentd2a9afb32e9a39e4643737812a7d474b0b5753d8 (diff)
Handle type in printf properly
-rwxr-xr-xgemini.filter.dpi2
1 files changed, 1 insertions, 1 deletions
diff --git a/gemini.filter.dpi b/gemini.filter.dpi
index 5f51efe..4d50a65 100755
--- a/gemini.filter.dpi
+++ b/gemini.filter.dpi
@@ -155,7 +155,7 @@ serve_success() {
type=$1
case "$type" in
text/gemini*) render_gemini;;
- *) printf "Content-type: $type\r\n\r\n"; cat;;
+ *) printf "Content-type: %s\r\n\r\n" "$type"; cat;;
esac
}