Merge pull request #18448 from nextcloud/fix/noid/wrong-paths-for-fileids
pass the proper storage-internal path
This commit is contained in:
commit
ac045a2461
|
@ -113,7 +113,7 @@ class File implements IEntity, IDisplayText {
|
|||
try {
|
||||
$node = $this->getNode();
|
||||
$ruleMatcher->setEntitySubject($this, $node);
|
||||
$ruleMatcher->setFileInfo($node->getStorage(), $node->getPath());
|
||||
$ruleMatcher->setFileInfo($node->getStorage(), $node->getInternalPath());
|
||||
} catch (NotFoundException $e) {
|
||||
// pass
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue