summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2012-07-30 12:39:28 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2012-07-30 12:39:28 +0200
commit1f2aa32d22a7b8dc5f85a3183b5142cfea81b811 (patch)
tree47df3760f2f1cf2e8fe0d43882a05e4e98cd7022
parent23391b3694120ee6a0aa443aab0a2eebd6400d11 (diff)
downloadnextcloud-server-1f2aa32d22a7b8dc5f85a3183b5142cfea81b811.tar.gz
nextcloud-server-1f2aa32d22a7b8dc5f85a3183b5142cfea81b811.zip
url needs to be case sensitive to be able to have files and paths as part of the URL
-rw-r--r--lib/ocs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ocs.php b/lib/ocs.php
index 16812196501..cf4248395f3 100644
--- a/lib/ocs.php
+++ b/lib/ocs.php
@@ -93,7 +93,7 @@ class OC_OCS {
}
// preprocess url
- $url = strtolower($_SERVER['REQUEST_URI']);
+ $url = $_SERVER['REQUEST_URI'];
if(substr($url,(strlen($url)-1))<>'/') $url.='/';
$ex=explode('/',$url);
$paracount=count($ex);