diff --git a/library/src/main/java/com/owncloud/android/lib/resources/shares/UpdateShareRemoteOperation.java b/library/src/main/java/com/owncloud/android/lib/resources/shares/UpdateShareRemoteOperation.java index a13a20112..2e0af4f30 100644 --- a/library/src/main/java/com/owncloud/android/lib/resources/shares/UpdateShareRemoteOperation.java +++ b/library/src/main/java/com/owncloud/android/lib/resources/shares/UpdateShareRemoteOperation.java @@ -274,11 +274,11 @@ public RemoteOperationResult> run(NextcloudClient client) { } if (note != null) { - parametersToUpdate.add(new Pair<>(PARAM_NOTE, URLEncoder.encode(note))); + parametersToUpdate.add(new Pair<>(PARAM_NOTE, note)); } if (label != null) { - parametersToUpdate.add(new Pair<>(PARAM_LABEL, URLEncoder.encode(label))); + parametersToUpdate.add(new Pair<>(PARAM_LABEL, label)); } /// perform required PUT requests