Owncloud 10.0.4 CalDAV-Sync with cellphone workaround needed

I’ve already seen this workaround but was quenched by the info about “/apps/dav/lib/Connector/Sabre/”. That I didn’t find in my ownCloud instance.

I did now implement the following change:

diff --git a/apps/dav/lib/Server.php b/apps/dav/lib/Server.php

  •           $this->server->addPlugin(new CorsPlugin(\OC::$server->getUserSession()));
    
  •           //$this->server->addPlugin(new CorsPlugin(\OC::$server->getUserSession()));
    

And now it works! :slight_smile: