summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfiles/common/www/redirection/redirect2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/common/www/redirection/redirect b/files/common/www/redirection/redirect
index 41b4eef..47ea058 100755
--- a/files/common/www/redirection/redirect
+++ b/files/common/www/redirection/redirect
@@ -2,7 +2,7 @@
read url reftrans < /tmp/redirection_target
if [ -x "$reftrans" ]; then
- url="$url$($reftrans "$HTTP_HOST$REQUEST_URI")"
+ url="$url$(echo "$HTTP_HOST$REQUEST_URI" | $reftrans)"
fi
echo -e \
"Cache-Control: no-cache, max-age=0, no-store, must-revalidate\r
contact: Jan Huwald // Impressum