finish get_file rework: remove URLS[*] logging obfuscation

This commit is contained in:
Kay Marquardt (Gnadelwartz) 2021-02-06 17:45:52 +01:00
parent ccac62dd72
commit ad1b91f3bc
3 changed files with 4 additions and 4 deletions

View File

@ -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?

View File

@ -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

View File

@ -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