We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 41cc2ed + 717927e commit a9a5198Copy full SHA for a9a5198
force-app/main/default/classes/Sharepoint.cls
@@ -25,7 +25,7 @@ global with sharing class Sharepoint {
25
}
26
global static SharepointSearchResponse searchFolder(String query) {
27
String basePath = getBasePath();
28
- query = String.escapeSingleQuotes(query.replace(' ', '+'));
+ query = EncodingUtil.urlEncode(query, 'UTF-8');
29
HttpRequest req = new HttpRequest();
30
req.setMethod('GET');
31
HttpResponse res = QKomGraphUtils.send(
0 commit comments