-- Leo's gemini proxy
-- Connecting to git.thebackupbox.net:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
repo: actpub action: commit revision: path_from: revision_from: 5037dedb0db5733b96e1dfe6dbefabed70b962ed: path_to: revision_to:
commit 5037dedb0db5733b96e1dfe6dbefabed70b962ed Author: epoch <epoch@thebackupbox.net> Date: Thu Mar 30 06:04:20 2023 +0000 accept bad http signatures anyway diff --git a/ap-inbox.cgi b/ap-inbox.cgi
--- a/ap-inbox.cgi +++ b/ap-inbox.cgi @@ -32,7 +32,14 @@ if [ "$PATH_INFO" = "" ];then printf "Status: 200 Ok\r\n" printf "Content-Type: text/plain; charset=utf-8\r\n\r\n" printf "All Good.\n" + logger "signature verified and POST accepted to inbox." exit 0 + else + printf "%s" "$POST_DATA" > "$id" + printf "Status: 200 OK\r\n" + printf "Content-Type: text/plain; charset=utf-8\r\n\r\n" + printf "your signature didn't verify, but we accepted it anyway." + logger "signature did not verify, but POST accepted to inbox anyway." fi fi printf "Status: 401 Unauthorized\r\n"
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 14:23:18 2024