@blizzz We use it this way in various places, so if this is really unsafe we should fix this soon, not only for the versioning app. Using the current functions there is one problem: OC_User::getHome() return the absolute path while OC_FilesystemView expect a relative path to the data directory. This means combining both doesn't work right away. I also discussed this with @georgehrke in Berlin, iirc OC_User::getHome() is not meant for general usage.

@butonic @georgehrke would be great if you could clarify this.