From: Paul Hänsch Date: Tue, 22 Feb 2022 17:55:24 +0000 (+0100) Subject: bugfix double decoding in fullname function leads to record discard X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=7453d71879a8ca9581f53844b9f093be6ddc1439;p=serve0 bugfix double decoding in fullname function leads to record discard --- diff --git a/list.sh b/list.sh index b57e4e4..dd5c83d 100755 --- a/list.sh +++ b/list.sh @@ -55,7 +55,7 @@ list_item() { )" list_fullname(){ - local short="$(UNSTRING "${1%${CR}}")" file + local short="$1" file file="$(printf %s\\n "$_DATA/$ITEM/$short".*)" file="${file%%${BR}*}" [ -e "$file" ] && printf %s\\n "${file#${_DATA}/${ITEM}/}"