summaryrefslogtreecommitdiffstats
path: root/ocs
diff options
context:
space:
mode:
authorTom Needham <needham.thomas@gmail.com>2013-02-04 18:36:39 +0000
committerTom Needham <needham.thomas@gmail.com>2013-02-04 18:36:39 +0000
commit406922fc6a49fc8a46dbfea5186cbfcd44938d3e (patch)
tree768a9f086b971d9295d12be244a024a3926a2c04 /ocs
parentaec5ab3ad2adc33a32158156a59f4c00606f8be9 (diff)
parent301afac2913e81414140c25bc21ede563563f76e (diff)
downloadnextcloud-server-406922fc6a49fc8a46dbfea5186cbfcd44938d3e.tar.gz
nextcloud-server-406922fc6a49fc8a46dbfea5186cbfcd44938d3e.zip
Merge master
Diffstat (limited to 'ocs')
-rw-r--r--ocs/providers.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ocs/providers.php b/ocs/providers.php
index 0c7cbaeff08..bf94b85dcfb 100644
--- a/ocs/providers.php
+++ b/ocs/providers.php
@@ -23,7 +23,7 @@
require_once '../lib/base.php';
-$url=OCP\Util::getServerProtocol().'://'.substr(OCP\Util::getServerHost().$_SERVER['REQUEST_URI'], 0, -17).'ocs/v1.php/';
+$url=OCP\Util::getServerProtocol().'://'.substr(OCP\Util::getServerHost().OCP\Util::getRequestUri(), 0, -17).'ocs/v1.php/';
echo('
<providers>