Skip to content
Commit e03f0542 authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Strip directory from scriptName

`\OCP\IRequest::getScriptName` will also return the directory, so if ownCloud is installed in a subfolder such as `owncloud/` it will resolve to `/owncloud/ocs/v2.php`. This made this check fail and also made it return invalid status codes.
parent 64a8d016
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment