Subtle bug. Now '/' is appended properly to URIS. - searx-tools - Searx helper tools.
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 91c5bcef0e7000d7d57d10745cc936fdc837b9a4
(DIR) parent ebc1fd9d7883f9845328ccd934b6648c6ef54d95
(HTM) Author: Christoph Lohmann <20h@r-36.net>
Date: Sat, 13 May 2017 11:22:27 +0200
Subtle bug. Now '/' is appended properly to URIS.
Diffstat:
searx | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/searx b/searx
@@ -3,6 +3,8 @@
SEARX_URI="$(searx-instances-random)"
case "${SEARX_URI}" in
*/)
+ ;;
+*)
SEARX_URI="${SEARX_URI}/"
;;
esac