]> git.plutz.net Git - serve0/commitdiff
bugfix double decoding in fullname function leads to record discard
authorPaul Hänsch <paul@plutz.net>
Tue, 22 Feb 2022 17:55:24 +0000 (18:55 +0100)
committerPaul Hänsch <paul@plutz.net>
Tue, 22 Feb 2022 17:55:24 +0000 (18:55 +0100)
list.sh

diff --git a/list.sh b/list.sh
index b57e4e45369aad090375bfa7b423453efc2d853b..dd5c83d4a44989e69e23ee17e57c524adb9c2c03 100755 (executable)
--- 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}/}"