diff options
author | Julius Härtl <jus@bitgrid.net> | 2022-10-02 14:34:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-02 14:34:41 +0200 |
commit | 754cef369b694c5a58f006ceafe7e9a943c7770f (patch) | |
tree | bb4530cc7513d6a8e555508778cc29cfa7acf0be /core | |
parent | 663751cf78241eb51a32a96223dffaa4d7cb2ec3 (diff) | |
parent | 0642d17e4fee849bebbbcd1e85d39c87753942be (diff) | |
download | nextcloud-server-754cef369b694c5a58f006ceafe7e9a943c7770f.tar.gz nextcloud-server-754cef369b694c5a58f006ceafe7e9a943c7770f.zip |
Merge pull request #34339 from nextcloud/bugfix/noid/fix-urls-on-reference-resolving
Fix URLs on reference resolving
Diffstat (limited to 'core')
-rw-r--r-- | core/Controller/ReferenceApiController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Controller/ReferenceApiController.php b/core/Controller/ReferenceApiController.php index b9706796460..266532113d8 100644 --- a/core/Controller/ReferenceApiController.php +++ b/core/Controller/ReferenceApiController.php @@ -61,7 +61,7 @@ class ReferenceApiController extends \OCP\AppFramework\OCSController { * @NoAdminRequired */ public function resolveOne(string $reference): DataResponse { - $resolvedReference = $this->referenceManager->resolveReference($reference); + $resolvedReference = $this->referenceManager->resolveReference(trim($reference)); $response = new DataResponse(['references' => [ $reference => $resolvedReference ]]); $response->cacheFor(3600, false, true); |