OC-2840: Fix bug: It's not possible to share a folder which has special characters