owncloud: Fixed escaping for url paths, improved error handling.
owncloud: Fixed escaping for url paths, improved error handling.

Fixed escaping for url paths, improved error handling and mem
management

meeh420/csync,gco/csync,gco/csync,gco/csync,meeh420/csync,gco/csync,meeh420/csync