From f6d9912760f1c53189c0928ef58a7ff6a158a768 Mon Sep 17 00:00:00 2001 From: paul Date: Mon, 22 Sep 2014 00:32:13 +0000 Subject: [PATCH] fix taglist generation svn path=/trunk/; revision=13 --- actions/meta.sh | 3 ++- actions/multitag.sh | 1 + index.cgi | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/actions/meta.sh b/actions/meta.sh index 605d809..6de9f38 100755 --- a/actions/meta.sh +++ b/actions/meta.sh @@ -32,11 +32,12 @@ done rm ${_DATA}/cache/\?* 2>/dev/null else echo -e "$length\t$width\t$height\t$info" > "$file" - echo -e "${tagacc}${tags}" |tr '\n' '|' >> "$file" + echo -e "${tagacc}|${tags}" |tr '\n' '|' >> "$file" echo >>"$file" echo -e "${description}" >> "$file" rm "${_DATA}/cache/$info.cache" 2>/dev/null rm ${_DATA}/cache/\?* 2>/dev/null + rm ${_DATA}/cache/taglist 2>/dev/null fi echo -n "Location: ?i=&p=${page}&s=${search}&f=${filter}&o=${order}#$info\n\n" diff --git a/actions/multitag.sh b/actions/multitag.sh index c1f27c7..fcf56d9 100755 --- a/actions/multitag.sh +++ b/actions/multitag.sh @@ -50,5 +50,6 @@ done fi rm "${_DATA}"/cache/\?* 2>/dev/null +rm "${_DATA}"/cache/taglist 2>/dev/null echo -n "Location: ?o=$order&s=$search&f=$filter&p=$page#$info\n\n" diff --git a/index.cgi b/index.cgi index d17b4c3..ec75729 100755 --- a/index.cgi +++ b/index.cgi @@ -17,7 +17,7 @@ # You should have received a copy of the GNU Affero General Public License # along with Serve0. If not, see . -export LC_ALL=de_DE.UTF-8 +export LC_ALL=C # basic functions die() { -- 2.39.2