Replace search and replace patterns
Merge pull request #382 from owncloud/fix-381

Allow sharing with link again