diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-02-12 17:30:08 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-02-12 21:20:21 +0100 |
commit | 5a23b35ddbbefcb308915e3fb088e3beaf1f8be5 (patch) | |
tree | 4e7bf2ccc01e58424912aa505aca222493ca5ef2 /core | |
parent | ada5aed35ee23048f7a02c9cd4e554600998124a (diff) | |
download | nextcloud-server-5a23b35ddbbefcb308915e3fb088e3beaf1f8be5.tar.gz nextcloud-server-5a23b35ddbbefcb308915e3fb088e3beaf1f8be5.zip |
Also rewrite icon url
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'core')
-rw-r--r-- | core/Controller/NavigationController.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/Controller/NavigationController.php b/core/Controller/NavigationController.php index 92f103c3a34..3521fac3b46 100644 --- a/core/Controller/NavigationController.php +++ b/core/Controller/NavigationController.php @@ -83,6 +83,9 @@ class NavigationController extends OCSController { if (0 !== strpos($entry['href'], $this->urlGenerator->getBaseUrl())) { $entry['href'] = $this->urlGenerator->getAbsoluteURL($entry['href']); } + if (0 !== strpos($entry['icon'], $this->urlGenerator->getBaseUrl())) { + $entry['icon'] = $this->urlGenerator->getAbsoluteURL($entry['icon']); + } } return $navigation; } |