diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-12-01 11:26:57 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2020-12-03 10:09:50 +0300 |
commit | c062ea397168109a0cbd443be0b3d663d3b05275 (patch) | |
tree | 3add2b8a589b3bfd1d7161ae5da12f5803465bb0 /lib | |
parent | 999fc20d3449270e8d4a9512be78f4ec469cc383 (diff) |
Fix relative path exposed to the redirect event
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Controller/DocumentController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/DocumentController.php b/lib/Controller/DocumentController.php index 3f2071db..f9100bce 100644 --- a/lib/Controller/DocumentController.php +++ b/lib/Controller/DocumentController.php @@ -202,7 +202,7 @@ class DocumentController extends Controller { '&richdocuments_remote_access=' . $remote; $event = new BeforeFederationRedirectEvent( - $item, $relative, $remote + $item, $relativeFolderPath, $remote ); $eventDispatcher = \OC::$server->getEventDispatcher(); $eventDispatcher->dispatch(BeforeFederationRedirectEvent::class, $event); |