Skip to content

Commit 3153281

Browse files
wip
Signed-off-by: tobiasKaminsky <[email protected]>
1 parent ba2745a commit 3153281

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/src/main/java/com/owncloud/android/lib/resources/shares/UpdateShareRemoteOperation.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,11 +274,11 @@ public RemoteOperationResult<List<OCShare>> run(NextcloudClient client) {
274274
}
275275

276276
if (note != null) {
277-
parametersToUpdate.add(new Pair<>(PARAM_NOTE, URLEncoder.encode(note)));
277+
parametersToUpdate.add(new Pair<>(PARAM_NOTE, note));
278278
}
279279

280280
if (label != null) {
281-
parametersToUpdate.add(new Pair<>(PARAM_LABEL, URLEncoder.encode(label)));
281+
parametersToUpdate.add(new Pair<>(PARAM_LABEL, label));
282282
}
283283

284284
/// perform required PUT requests

0 commit comments

Comments
 (0)