From: Paul Hänsch Date: Tue, 17 Jul 2018 01:02:23 +0000 (+0200) Subject: bugfix: use URL escaping for links instead of HTML escaping (relevant for # and ?) X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=c70cfb866c49ca70685294f84fa12cac8a938e91;p=serve0 bugfix: use URL escaping for links instead of HTML escaping (relevant for # and ?) --- diff --git a/list.sh b/list.sh index 5c6634d..9482a31 100644 --- a/list.sh +++ b/list.sh @@ -6,7 +6,7 @@ list_item() { local name path length width height tags comment n name="$(HTML "$1")" - path="$(HTML "$ITEM/$1")" + path="$(URL "${ITEM}/${1}")" if [ -d "$_DATA/$ITEM/$1" ]; then printf '[a .list .dir href="%s?%s" %s]' \