Fixes issue with special characters in URL for file manager

closes #21
This commit is contained in:
Dane Everitt 2016-01-17 22:54:03 -05:00
parent 776af7d0f1
commit 4f3629fc4c
3 changed files with 9 additions and 9 deletions

View file

@ -143,7 +143,7 @@ class FileRepository
throw new Exception('A valid directory must be specified in order to list its contents.');
}
$res = $this->client->request('GET', '/server/directory/' . $directory, [
$res = $this->client->request('GET', '/server/directory/' . rawurlencode($directory), [
'headers' => $this->headers
]);