diff options
author | Phie <phie@phie.ovh> | 2019-08-17 18:03:24 +0300 |
---|---|---|
committer | Phie <phie@phie.ovh> | 2019-08-17 18:03:24 +0300 |
commit | ef547dded8e7216c8c63b58a28abc227a8dff6e8 (patch) | |
tree | 4589b57e6cf093697d2cd718a69734dd5686080e /lib | |
parent | 352645fb829b5c2e5e53717c1a8dfcc0b05c804c (diff) |
escape userid
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/Controller/NoteController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/NoteController.php b/lib/Controller/NoteController.php index 122bb7f..9df37ae 100755 --- a/lib/Controller/NoteController.php +++ b/lib/Controller/NoteController.php @@ -557,7 +557,7 @@ } catch(\OCP\Files\NotFoundException $e) { } - shell_exec('php occ carnet:search '.$this->userId.' '.escapeshellarg($query).' '.escapeshellarg($from).'> /dev/null 2>/dev/null &'); + shell_exec('php occ carnet:search '.escapeshellarg($this->userId).' '.escapeshellarg($query).' '.escapeshellarg($from).'> /dev/null 2>/dev/null &'); } /** |