aboutsummaryrefslogtreecommitdiffstats
path: root/lib/helper.php
diff options
context:
space:
mode:
authorMarvin Thomas Rabe <m.rabe@echtzeitraum.de>2011-10-04 19:27:57 +0200
committerMarvin Thomas Rabe <m.rabe@echtzeitraum.de>2011-10-04 19:27:57 +0200
commit33f24a42b88ede5135ab2118077a25a6c479201b (patch)
tree463ed45ba7f1932920564457423894e6130ea87a /lib/helper.php
parent314e84716b5b0d2449412cfcdc9e8c2aff9ea665 (diff)
downloadnextcloud-server-33f24a42b88ede5135ab2118077a25a6c479201b.tar.gz
nextcloud-server-33f24a42b88ede5135ab2118077a25a6c479201b.zip
redirect url fixed
Diffstat (limited to 'lib/helper.php')
-rw-r--r--lib/helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/helper.php b/lib/helper.php
index b6332b54aea..9c2b5fc33ce 100644
--- a/lib/helper.php
+++ b/lib/helper.php
@@ -61,7 +61,7 @@ class OC_Helper {
}
if($redirect_url)
- return $urlLinkTo.'?redirect_url='.$redirect_url;
+ return $urlLinkTo.'?redirect_url='.urlencode($_SERVER["REQUEST_URI"]);
else
return $urlLinkTo;