Fix encoded /

urlencode("/") would create %2F which breaks the link.
Merge pull request #363 from owncloud/fix-url

Fix encoded /