Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/ocs
diff options
context:
space:
mode:
authorTom Needham <needham.thomas@gmail.com>2013-02-04 22:36:39 +0400
committerTom Needham <needham.thomas@gmail.com>2013-02-04 22:36:39 +0400
commit406922fc6a49fc8a46dbfea5186cbfcd44938d3e (patch)
tree768a9f086b971d9295d12be244a024a3926a2c04 /ocs
parentaec5ab3ad2adc33a32158156a59f4c00606f8be9 (diff)
parent301afac2913e81414140c25bc21ede563563f76e (diff)
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>