diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-03-14 15:19:55 +0100 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-03-15 11:10:24 +0100 |
commit | 1db82073a4a36e5fb324630ef5529405ad69713b (patch) | |
tree | 2a22694b1789dc50118158cc1ea05d92eda8f2c0 /core/ajax | |
parent | f8180579d03fcd10ab8f92f1ecb27899436c7653 (diff) | |
download | nextcloud-server-1db82073a4a36e5fb324630ef5529405ad69713b.tar.gz nextcloud-server-1db82073a4a36e5fb324630ef5529405ad69713b.zip |
Generate a valid URL for link notification
fixes #23197
* Updated unit test
Diffstat (limited to 'core/ajax')
-rw-r--r-- | core/ajax/share.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/ajax/share.php b/core/ajax/share.php index 8ece9945c23..44144b791e2 100644 --- a/core/ajax/share.php +++ b/core/ajax/share.php @@ -70,7 +70,8 @@ if (isset($_POST['action']) && isset($_POST['itemType']) && isset($_POST['itemSo \OC::$server->getL10N('lib'), \OC::$server->getMailer(), \OC::$server->getLogger(), - $defaults + $defaults, + \OC::$server->getURLGenerator() ); $result = $mailNotification->sendInternalShareMail($recipientList, $itemSource, $itemType); @@ -108,7 +109,8 @@ if (isset($_POST['action']) && isset($_POST['itemType']) && isset($_POST['itemSo \OC::$server->getL10N('lib'), \OC::$server->getMailer(), \OC::$server->getLogger(), - $defaults + $defaults, + \OC::$server->getURLGenerator() ); $expiration = null; |