Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CarnetApp/CarnetNextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPhie <phie@phie.ovh>2019-08-17 18:03:24 +0300
committerPhie <phie@phie.ovh>2019-08-17 18:03:24 +0300
commitef547dded8e7216c8c63b58a28abc227a8dff6e8 (patch)
tree4589b57e6cf093697d2cd718a69734dd5686080e /lib
parent352645fb829b5c2e5e53717c1a8dfcc0b05c804c (diff)
escape userid
Diffstat (limited to 'lib')
-rwxr-xr-xlib/Controller/NoteController.php2
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 &');
}
/**