Sanitize shareWith
Merge pull request #2062 from owncloud/shareType

Sanitize shareWith