mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 10:10:49 -04:00
Mark getAppPath as specialized taint
Should remove some false positives. https://psalm.dev/docs/security_analysis/avoiding_false_positives/ Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
parent
db3a3bee37
commit
d25ca1976b
1 changed files with 2 additions and 0 deletions
|
|
@ -517,6 +517,8 @@ class OC_App {
|
|||
* Get the directory for the given app.
|
||||
* If the app is defined in multiple directories, the first one is taken. (false if not found)
|
||||
*
|
||||
* @psalm-taint-specialize
|
||||
*
|
||||
* @param string $appId
|
||||
* @return string|false
|
||||
* @deprecated 11.0.0 use \OC::$server->getAppManager()->getAppPath()
|
||||
|
|
|
|||
Loading…
Reference in a new issue