From ad1b91f3bce0456b6a7bdccb12b8e05c866ce4e3 Mon Sep 17 00:00:00 2001 From: "Kay Marquardt (Gnadelwartz)" Date: Sat, 6 Feb 2021 17:45:52 +0100 Subject: [PATCH] finish get_file rework: remove URLS[*] logging obfuscation --- bashbot.sh | 2 +- doc/6_reference.md | 2 +- modules/processUpdates.sh | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bashbot.sh b/bashbot.sh index cb11af8..0412470 100755 --- a/bashbot.sh +++ b/bashbot.sh @@ -30,7 +30,7 @@ BOTCOMMANDS="-h help init start stop status suspendback resumeback killb # 8 - curl/wget missing # 10 - not bash! # -#### $$VERSION$$ v1.41-dev-9-g5294d00 +#### $$VERSION$$ v1.41-dev-10-gccac62d ################################################################## # are we running in a terminal? diff --git a/doc/6_reference.md b/doc/6_reference.md index d4cf2da..3e69e8c 100644 --- a/doc/6_reference.md +++ b/doc/6_reference.md @@ -1627,5 +1627,5 @@ The name of your bot is available as bash variable "$ME", there is no need to ca #### [Prev Best Practice](5_practice.md) #### [Next Notes for Developers](7_develop.md) -#### $$VERSION$$ v1.41-dev-9-g5294d00 +#### $$VERSION$$ v1.41-dev-10-gccac62d diff --git a/modules/processUpdates.sh b/modules/processUpdates.sh index cb422e8..e41c251 100644 --- a/modules/processUpdates.sh +++ b/modules/processUpdates.sh @@ -4,7 +4,7 @@ # File: processUpdates.sh # Note: DO NOT EDIT! this file will be overwritten on update # -#### $$VERSION$$ v1.40-0-gf9dab50 +#### $$VERSION$$ v1.41-dev-10-gccac62d ################################################################## ############## @@ -82,7 +82,7 @@ process_update() { process_message "${num}" "${debug}" printf "%(%c)T: update received FROM=%s CHAT=%s CMD=%s\n" -1 "${USER[USERNAME]:0:20} (${USER[ID]})"\ "${CHAT[USERNAME]:0:20}${CHAT[TITLE]:0:30} (${CHAT[ID]})"\ - "${MESSAGE:0:30}${CAPTION:0:30}$(: "${URLS[*]//bot*:}"; printf "%s" "${_//[A-Z-]}")" >>"${UPDATELOG}" + "${MESSAGE:0:30}${CAPTION:0:30}${URLS[*]}" >>"${UPDATELOG}" fi ##### # process inline and message events