From 19b21afda273f971fa280531b1f51ea6623a7102 Mon Sep 17 00:00:00 2001 From: paul Date: Sat, 14 Jan 2017 06:26:42 +0000 Subject: [PATCH] bugfix, base links in paginated browse pages svn path=/trunk/; revision=169 --- pages/browse.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pages/browse.sh b/pages/browse.sh index 9b3e866..e46023a 100755 --- a/pages/browse.sh +++ b/pages/browse.sh @@ -26,6 +26,8 @@ directory="$(invalidate "${_GET[d]}" '(.*/)?\.\.(/.*)?|' /)" filters="${_GET[f]}" debug "FILTERS: $filters" +page_link="p=browse&d=$(urlsafe "$directory")&${page_link}" + present_filter(){ printf %s\\n "$*" \ | sed -r 's;(^|!|\^|\|)([^!\^\|:]+:);\1;g;s;\^;\n;g' \ -- 2.39.2