diff --git a/tests/acceptance/features/bootstrap/Sharing.php b/tests/acceptance/features/bootstrap/Sharing.php index a14ee88aa926..bc5fbc5450a8 100644 --- a/tests/acceptance/features/bootstrap/Sharing.php +++ b/tests/acceptance/features/bootstrap/Sharing.php @@ -1216,7 +1216,7 @@ public function shareFileWithUserUsingTheSharingApi( $user1Actual = $this->getActualUsername($user1); $user2Actual = $this->getActualUsername($user2); - $path = $this->getSharesEndpointPath("?path=".urlencode($filepath)); + $path = $this->getSharesEndpointPath("?path=".\urlencode($filepath)); $this->response = OcsApiHelper::sendRequest( $this->getBaseUrl(), $user1Actual,