Check if instance is not yet installed
Check if instance is not yet installed

Due to a security hardening in 8.1 a missing value of empty trusted domains in the config would provoke an error as this was misused by a lot of users.

This caused a problem where the initial installation happened from another domain than 127.0.0.1 as in this case the domain was considered untrusted as no value was defined. However, this special case should not get intercepted.

To test:
- [ ] Installing ownCloud on 127.0.0.1 works
- [ ] Installing ownCloud on another domain / IP works
- [ ] When setting up ownCloud from 127.0.0.1 and accessing it from the domain above the trusted domain error should be shown if not specified in the config

Fixes https://github.com/owncloud/core/issues/14320

michaelletzgus/nextcloud-server,pmattern/server,nextcloud/server,pollopolea/core,endsguy/server,michaelletzgus/nextcloud-server,michaelletzgus/nextcloud-server,pollopolea/core,sharidas/core,Ardinis/server,pixelipo/server,pollopolea/core,endsguy/server,cernbox/core,sharidas/core,sharidas/core,lrytz/core,endsguy/server,pixelipo/server,bluelml/core,pmattern/server,owncloud/core,owncloud/core,phil-davis/core,whitekiba/server,owncloud/core,lrytz/core,whitekiba/server,sharidas/core,pmattern/server,owncloud/core,pixelipo/server,IljaN/core,xx621998xx/server,bluelml/core,IljaN/core,owncloud/core,jbicha/server,bluelml/core,cernbox/core,andreas-p/nextcloud-server,pixelipo/server,whitekiba/server,cernbox/core,andreas-p/nextcloud-server,whitekiba/server,nextcloud/server,endsguy/server,IljaN/core,pollopolea/core,bluelml/core,lrytz/core,IljaN/core,jbicha/server,jbicha/server,xx621998xx/server,pollopolea/core,pmattern/server,Ardinis/server,xx621998xx/server,cernbox/core,michaelletzgus/nextcloud-server,Ardinis/server,IljaN/core,lrytz/core,lrytz/core,xx621998xx/server,andreas-p/nextcloud-server,andreas-p/nextcloud-server,andreas-p/nextcloud-server,bluelml/core,pixelipo/server,sharidas/core,xx621998xx/server,nextcloud/server,jbicha/server,Ardinis/server,whitekiba/server,Ardinis/server,cernbox/core,nextcloud/server,endsguy/server,pmattern/server,jbicha/server