diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-11-26 16:52:33 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-11-26 16:52:33 +0100 |
commit | 52941341fde072410308ff1e27742095f5d38f21 (patch) | |
tree | d81837875705b0ac61d8391aafba7929057eac21 /lib/private/request.php | |
parent | 2a93720f3f967775f7e5279b99348f8e4346e951 (diff) | |
download | nextcloud-server-52941341fde072410308ff1e27742095f5d38f21.tar.gz nextcloud-server-52941341fde072410308ff1e27742095f5d38f21.zip |
fixing failing unit test
Diffstat (limited to 'lib/private/request.php')
-rwxr-xr-x | lib/private/request.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/request.php b/lib/private/request.php index bb3a05ba97d..37d918d2032 100755 --- a/lib/private/request.php +++ b/lib/private/request.php @@ -159,7 +159,7 @@ class OC_Request { throw new Exception("The requested uri($requestUri) cannot be processed by the script '$scriptName')"); } } - if (strpos($path_info, '/'.$name.'/') === 0) { + if (strpos($path_info, '/'.$name) === 0) { $path_info = substr($path_info, strlen($name) + 1); } if (strpos($path_info, $name) === 0) { |