-- 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: fa60e1030f122c7ecf0ea001353c91686929c5cb: path_to: revision_to:
commit fa60e1030f122c7ecf0ea001353c91686929c5cb Author: epoch <epoch@thebackupbox.net> Date: Wed Sep 20 09:33:36 2023 +0000 attachments to actor were using bad check and werent quoted diff --git a/ap-actor.cgi b/ap-actor.cgi
--- a/ap-actor.cgi +++ b/ap-actor.cgi @@ -152,9 +152,9 @@ cat <<EOF "tag": [], EOF -if [ -e ~/.config/self.rec ];then +if self -l >/dev/null 2>&1;then attachments="$(self -g ap_attachments)" - if [ $attachments ];then + if [ "$attachments" ];then cat <<EOF "attachment": EOF
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 14:20:32 2024