Skip to content

Commit ff47f47

Browse files
committed
fix: wrap query parameter in quotes to support special characters
1 parent 096a753 commit ff47f47

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎owncloudComLibrary/src/main/java/com/owncloud/android/lib/resources/members/SearchRemoteMembersOperation.kt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class SearchRemoteMembersOperation(
4444

4545
val uriBuilder = client.baseUri.buildUpon().apply {
4646
appendEncodedPath(if (searchGroups) GRAPH_API_GROUPS_PATH else GRAPH_API_USERS_PATH)
47-
appendQueryParameter(SEARCH_QUERY, query)
47+
appendQueryParameter(SEARCH_QUERY, "\"$query\"")
4848
appendQueryParameter(ORDER_BY_QUERY, ORDER_BY_QUERY_VALUE)
4949
}
5050

0 commit comments

Comments
 (0)