aboutsummaryrefslogtreecommitdiffstats
path: root/ocs/providers.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-02-08 00:11:54 +0100
committerRobin Appelman <icewind@owncloud.com>2013-02-08 00:11:54 +0100
commitf93f9dd50cce6b6e2ed4eeca2d34b2bac82e0350 (patch)
treec76b2eabb63ed308eb882468cb2a74042e6f9d53 /ocs/providers.php
parent697536cf6ad1c9a862c32605b807172dfa680d22 (diff)
parent3bd33b69a1c37cee5c3d180ec8952a611aabb4d1 (diff)
downloadnextcloud-server-f93f9dd50cce6b6e2ed4eeca2d34b2bac82e0350.tar.gz
nextcloud-server-f93f9dd50cce6b6e2ed4eeca2d34b2bac82e0350.zip
merge master into trash_fileactions
Diffstat (limited to 'ocs/providers.php')
-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>