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 22:34:26 +0100 |
commit | 9ea931fbad0c6277335509a75c13d3c1ec0615a6 (patch) | |
tree | eb8e71c82f83a86154e13a43b4e551ec793cfcb3 /lib | |
parent | 4221490d04f1f02e89c5f06f6250fb9ec113eac9 (diff) | |
download | nextcloud-server-9ea931fbad0c6277335509a75c13d3c1ec0615a6.tar.gz nextcloud-server-9ea931fbad0c6277335509a75c13d3c1ec0615a6.zip |
fixing failing unit test
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/request.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/request.php b/lib/request.php index dc8e3e61be3..1e19fd72eb0 100755 --- a/lib/request.php +++ b/lib/request.php @@ -158,7 +158,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) { |