From 990460787291eee932eb17120d5be2c6308503f6 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Thu, 2 May 2024 19:27:51 +0200 Subject: [PATCH] autoport: same fix as previous commit needs to be applied to autoport --- autoport | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/autoport b/autoport index 91582c3..9f240a0 100755 --- a/autoport +++ b/autoport @@ -700,10 +700,12 @@ for TARGET_ARCH in ${TARGET_ARCHS}; do autoport_log ${JOB_CURRENT} port ok $tmpfile if [ "$WEBBUILD_URL" -a "$WEBBUILD_USER" ]; then if [ "$WEBBUILD_USER_CMDLINE" ]; then - curl -s "$WEBBUILD_URL?REQUEST=message&USER=$WEBBUILD_USER&SECRET=$WEBBUILD_SECRET&USER_EMAIL=$WEBBUILD_EMAIL&\ + curl -s "$WEBBUILD_URL?REQUEST=message&USER=$WEBBUILD_USER&\ +SECRET=`cgi_encodevar ${WEBBUILD_SECRET}`&USER_EMAIL=$WEBBUILD_EMAIL&\ MESSAGE=`cgi_encodevar \"(invoked by $WEBBUILD_USER_CMDLINE) ported $JOB_CURRENT to $TARGET_ARCH and sent it to $SEND_REPOSITORY\"`" >/dev/null else - curl -s "$WEBBUILD_URL?REQUEST=message&USER=$WEBBUILD_USER&SECRET=$WEBBUILD_SECRET&USER_EMAIL=$WEBBUILD_EMAIL&\ + curl -s "$WEBBUILD_URL?REQUEST=message&USER=$WEBBUILD_USER&\ +SECRET=`cgi_encodevar ${WEBBUILD_SECRET}`&USER_EMAIL=$WEBBUILD_EMAIL&\ MESSAGE=`cgi_encodevar \"ported $JOB_CURRENT to $TARGET_ARCH and sent it to $SEND_REPOSITORY\"`" >/dev/null fi fi