nextcloud-docker-dev icon indicating copy to clipboard operation
nextcloud-docker-dev copied to clipboard

GS improvements

Open juliusknorr opened this issue 3 years ago • 0 comments

  • [ ] figure out how to make plain http work out of the box
  • [ ] add script to auto configure collabora
  • [ ] auto configure gss.master.csp-allow
  • [ ] trigger cron directly after install to trigger initial lookup server sync

Workaround patch for sharing with http

  • This makes sure that the protocol gets added to the lookup server entries
diff --git a/lib/private/User/User.php b/lib/private/User/User.php
index e7aa72fafb..17ef7412fa 100644
--- a/lib/private/User/User.php
+++ b/lib/private/User/User.php
@@ -552,7 +552,7 @@ class User implements IUser {
                if (strpos($url, 'https://') === 0) {
                        return substr($url, strlen('https://'));
                } elseif (strpos($url, 'http://') === 0) {
-                       return substr($url, strlen('http://'));
+                       // return substr($url, strlen('http://'));
                }

                return $url;

juliusknorr avatar May 20 '22 10:05 juliusknorr